|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 problemspublic 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 problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public 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 IFormatList
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFormatData item(int index) throws IOException, AutomationException
item
in interface IFormatList
index
- 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 IFormatList
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrentRecord(int pVal) throws IOException, AutomationException
setCurrentRecord
in interface IFormatList
pVal
- 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 IFormatData
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getUITitle() throws IOException, AutomationException
getUITitle
in interface IFormatData
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getOrder() throws IOException, AutomationException
getOrder
in interface IFormatData
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getTempl() throws IOException, AutomationException
getTempl
in interface IFormatData
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPseudo() throws IOException, AutomationException
isPseudo
in interface IFormatData
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getExtension() throws IOException, AutomationException
getExtension
in interface IFormatData
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getShortName() throws IOException, AutomationException
getShortName
in interface IFormatData
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isDirectory() throws IOException, AutomationException
isDirectory
in interface IFormatData
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCreatable() throws IOException, AutomationException
isCreatable
in interface IFormatData
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUserFile() throws IOException, AutomationException
isUserFile
in interface IFormatData
IOException
- 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 IFormatTest
path
- 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 IFormatTest
path
- 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 IRasterFormatControl
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFormatSupportLevel(int pSupportLevel) throws IOException, AutomationException
setFormatSupportLevel
in interface IRasterFormatControl
pSupportLevel
- 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 |