|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.datasourcesraster.FormatList
public class FormatList
A collection of information about supported raster formats.
The FormatList object contains information about all available raster formats. It can be used to access this information or to check if a particular file is a raster and determine its format.
This object will provide information about all native formats and any formats that have been added to ArcMap by external developers. Formats that have multiple possible file extensions may appear more than once in this list.
| Constructor Summary | |
|---|---|
FormatList()
Constructs a FormatList using ArcGIS Engine. |
|
FormatList(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. FormatList theFormatList = (FormatList) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
IFormatData |
formatIdentify(String path)
The title of the dataset's format, if supported. |
boolean |
formatVerify(String path,
String title)
Tests whether a dataset is a raster format given a title. |
static String |
getClsid()
getClsid. |
int |
getCount()
Total number of formats. |
int |
getCurrentRecord()
Index of currently accessed format information. |
String |
getExtension()
Default extension (without the dot). |
int |
getFormatSupportLevel()
The current raster format support level. |
int |
getOrder()
Order to display in UI. |
String |
getShortName()
Name used for icon registration. |
String |
getTempl()
Wildcard string for file matching. |
String |
getTitle()
Implementor name of format. |
String |
getUITitle()
User legible name of format. |
int |
hashCode()
the hashcode for this object |
boolean |
isCreatable()
Indicates whether this format supports 'SaveAs'. |
boolean |
isDirectory()
Indicates whether this format is directory based, as opposed to file based. |
boolean |
isPseudo()
Indicates if wildcard match is enough for verification. |
boolean |
isUserFile()
Indicates whether this format is intended for display to user (eg. |
IFormatData |
item(int index)
Returns format information for a given index. |
void |
setCurrentRecord(int pVal)
Index of currently accessed format information. |
void |
setFormatSupportLevel(int pSupportLevel)
The current raster format support level. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public FormatList()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public FormatList(Object obj)
throws IOException
FormatList theFormatList = (FormatList) obj;
obj to FormatList.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getCount()
throws IOException,
AutomationException
The number of count returned includes both external formats (such as IMG, GRID, or TIFF etc) and internal formats (such as RRD or AUX etc.). To get only the supported external raster formats, use IFormatData::UserFile = true to filter out the internal formats.
getCount in interface IFormatListIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFormatData item(int index)
throws IOException,
AutomationException
item in interface IFormatListindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCurrentRecord()
throws IOException,
AutomationException
getCurrentRecord in interface IFormatListIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCurrentRecord(int pVal)
throws IOException,
AutomationException
setCurrentRecord in interface IFormatListpVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getTitle()
throws IOException,
AutomationException
getTitle in interface IFormatDataIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getUITitle()
throws IOException,
AutomationException
getUITitle in interface IFormatDataIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getOrder()
throws IOException,
AutomationException
getOrder in interface IFormatDataIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getTempl()
throws IOException,
AutomationException
getTempl in interface IFormatDataIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isPseudo()
throws IOException,
AutomationException
isPseudo in interface IFormatDataIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getExtension()
throws IOException,
AutomationException
getExtension in interface IFormatDataIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getShortName()
throws IOException,
AutomationException
getShortName in interface IFormatDataIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isDirectory()
throws IOException,
AutomationException
isDirectory in interface IFormatDataIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCreatable()
throws IOException,
AutomationException
isCreatable in interface IFormatDataIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUserFile()
throws IOException,
AutomationException
isUserFile in interface IFormatDataIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean formatVerify(String path,
String title)
throws IOException,
AutomationException
formatVerify in interface IFormatTestpath - The path (in)title - The title (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFormatData formatIdentify(String path)
throws IOException,
AutomationException
formatIdentify in interface IFormatTestpath - The path (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getFormatSupportLevel()
throws IOException,
AutomationException
getFormatSupportLevel in interface IRasterFormatControlIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFormatSupportLevel(int pSupportLevel)
throws IOException,
AutomationException
setFormatSupportLevel in interface IRasterFormatControlpSupportLevel - A com.esri.arcgis.datasourcesraster.esriRasterFormatSupportLevel constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||