com.metamatrix.core.index
Interface IDocument


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
 java.lang.String getEncoding()
          Returns the encoding for this document
 java.lang.String getName()
          returns the name of the document (e.g.
 java.lang.String getType()
          Returns the type of the document.
 

Method Detail

getEncoding

java.lang.String getEncoding()
Returns the encoding for this document


getName

java.lang.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

java.lang.String getType()
Returns the type of the document.



Copyright © 2009. All Rights Reserved.