| BlueSpray - Help © SchoonerTurtles, Inc. 2012-2015
Introduction
Contents
Getting Started
Download
Navigating
Tutorials
Scripting
Advanced
About
| # Class STFileHandler Extends STIO
Returns | Default | Function | Throws
--- | --- | --- | ---
STFileFormatter[] | null | GetFileFormats(Class TheClass) | Exception
String[] | null | LoadHeadersFromFile(boolean IgnoreColumnsToInclude) | Exception
String | No information available | LoadInformationFromFile() | Exception
String | Associated Metadata | LoadMetadataFromFile() | Exception
STSRS | Associated PRJ File | LoadRefSystemFromFile() | Exception
## Object Functions

### STFileFormatter[] GetFileFormats(Class TheClass) Exception

Return the list of file formats available to load data from files with
the specified class type.
This function is used by the preferences dialog to get the entire set of
formatters available for a handler. It is also used by STFileManager's
GetFileFormatters(...) function to display the entire list of file
formats in the file chooser.

Parameters:
TheClass
Returns:

### String[] LoadHeadersFromFile(boolean IgnoreColumnsToInclude) Exception

Loads the headers from a text or shape file. This allows the headers
to be displayed quickly in dialog boxes without loading all the attributes.

Returns:
Throws: Exception

### String LoadInformationFromFile() Exception

Returns:
Throws: Exception

### String LoadMetadataFromFile() Exception

Reads an XML file is one is available.

Returns:
Throws: Exception

### STSRS LoadRefSystemFromFile() Exception

Reads a PRJ file is one is available.

Returns:
Throws: Exception