org.teiid.core.index
Interface IDocument

All Known Implementing Classes:
FileDocument, PropertyDocument

public interface IDocument

An IDocument represent a data source, e.g. a File (FileDocument), an IFile (IFileDocument), or other kinds of data sources (URL, ...). An IIndexer indexes anIDocument.


Method Summary
 String getEncoding()
          Returns the encoding for this document
 String getName()
          returns the name of the document (e.g.
 String getType()
          Returns the type of the document.
 

Method Detail

getEncoding

String getEncoding()
Returns the encoding for this document


getName

String getName()
returns the name of the document (e.g. its path for a File, or its relative path in the workbench for an IFile).


getType

String getType()
Returns the type of the document.



Copyright © 2011. All Rights Reserved.