|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMetadataImport
Provides access to members that define a metadata importer.
The IMetadataImport interface is available to custom CoClasses that implement the MetadataImport abstract class. For example, a custom CoClass might be written to support importing metadata to an ArcGIS item from a custom document format. Example code illustrating how to use this object is available in the ArcGIS 9.3.1 Developer Help system.
Method Summary | |
---|---|
void |
esri_import(String source,
IMetadata destination)
Imports metadata from the specified location. |
String |
getDefaultFilename()
Default filename (including the file extension) from which to import. |
String |
getName()
Name of the metadata importer. |
Method Detail |
---|
String getName() throws IOException, AutomationException
Returns the name of the MetadataImport subclass as a string.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getDefaultFilename() throws IOException, AutomationException
The DefaultFilename is determined by the MetadataImport subclass. Typically the name �metadata� with an appropriate file extension for the import format is built into the MetadataImport subclass. For example, �metadata.txt� would be appropriate if a subclass imports content from a structured text file.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void esri_import(String source, IMetadata destination) throws IOException, AutomationException
source
- The source (in)destination
- A reference to a com.esri.arcgis.geodatabase.IMetadata (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |