Uses of Interface
edu.mit.jwi.data.IContentType

Packages that use IContentType
edu.mit.jwi Provides the main dictionary interface and a default implementation. 
edu.mit.jwi.data Provides classes and interfaces for the creation, searching, and interpretation of dictionary data sources. 
edu.mit.jwi.item Provides classes and interfaces that represent the Wordnet data structures. 
 

Uses of IContentType in edu.mit.jwi
 

Constructors in edu.mit.jwi with parameters of type IContentType
DataSourceDictionary.FileIterator(IContentType<T> content)
           
DataSourceDictionary.FileIterator(IContentType<T> content, java.lang.String startKey)
           
DataSourceDictionary.FileIterator2(IContentType<T> content)
          Constructs a new file iterator with the specified content type.
DataSourceDictionary.FileIterator2(IContentType<T> content, java.lang.String startKey)
          Constructs a new file iterator with the specified content type and start key.
 

Uses of IContentType in edu.mit.jwi.data
 

Classes in edu.mit.jwi.data that implement IContentType
 class ContentType<T>
          A concrete implementation of the IContentType interface.
 

Methods in edu.mit.jwi.data that return IContentType
 IContentType<T> WordnetFile.getContentType()
           
 IContentType<T> IDataSource.getContentType()
          Returns the assigned content type of the resource that backs this object.
static IContentType<ISynset> ContentType.getDataContentType(POS pos)
          Use this convenience method to retrieve the appropriate ISynset content type for the specified POS.
static IContentType<IExceptionEntryProxy> ContentType.getExceptionContentType(POS pos)
          Use this convenience method to retrieve the appropriate IExceptionEntryProxy content type for the specified POS.
static IContentType<IIndexWord> ContentType.getIndexContentType(POS pos)
          Use this convenience method to retrieve the appropriate IIndexWord content type for the specified POS.
<T> IContentType<T>
IDataProvider.resolveContentType(IDataType<T> dt, POS pos)
          Returns the first content type, if any, that matches the specified data type and pos object.
<T> IContentType<T>
FileProvider.resolveContentType(IDataType<T> dt, POS pos)
           
 

Methods in edu.mit.jwi.data that return types with arguments of type IContentType
protected  java.util.Map<IContentType<?>,ILoadableDataSource<?>> FileProvider.createSourceMap(java.util.List<java.io.File> files, int policy)
          Creates the map that contains the content types mapped to the data sources.
 java.util.Set<? extends IContentType<?>> IDataProvider.getTypes()
          Returns a set containing all the content types this provider looks for at the resource location.
 java.util.Set<? extends IContentType<?>> FileProvider.getTypes()
           
 

Methods in edu.mit.jwi.data with parameters of type IContentType
protected
<T> ILoadableDataSource<T>
FileProvider.createBinarySearch(java.io.File file, IContentType<T> type)
          Creates a binary search data source for the specified type, using the specified file.
protected
<T> ILoadableDataSource<T>
FileProvider.createDataSource(java.io.File file, IContentType<T> type, int policy)
          Creates the actual data source implementations.
protected
<T> ILoadableDataSource<T>
FileProvider.createDirectAccess(java.io.File file, IContentType<T> type)
          Creates a direct access data source for the specified type, using the specified file.
<T> IDataSource<T>
IDataProvider.getSource(IContentType<T> type)
          Returns a data source object for the specified content type, if one is available; otherwise returns null.
<T> ILoadableDataSource<T>
FileProvider.getSource(IContentType<T> type)
           
 

Constructors in edu.mit.jwi.data with parameters of type IContentType
BinarySearchWordnetFile(java.io.File file, IContentType<T> contentType)
          Constructs a new binary search wordnet file, on the specified file with the specified content type.
DirectAccessWordnetFile(java.io.File file, IContentType<T> contentType)
          Constructs a new direct access wordnet file, on the specified file with the specified content type.
WordnetFile(java.io.File file, IContentType<T> contentType)
          Constructs an instance of this class backed by the specified java File object, with the specified content type.
 

Constructor parameters in edu.mit.jwi.data with type arguments of type IContentType
FileProvider(java.io.File file, int loadPolicy, java.util.Collection<? extends IContentType<?>> types)
          Constructs the file provider pointing to the resource indicated by the path, with the specified load policy, looking for the specified content type.s
FileProvider(java.net.URL url, int loadPolicy, java.util.Collection<? extends IContentType<?>> types)
          Constructs the file provider pointing to the resource indicated by the path, with the specified load policy, looking for the specified content type.s
 

Uses of IContentType in edu.mit.jwi.item
 

Methods in edu.mit.jwi.item with parameters of type IContentType
static Version Version.extractVersion(IContentType<?> type, java.nio.ByteBuffer buffer)
          Extracts a version object from a byte buffer that contains data with the specified content type.
 



Copyright © 2007-2013 Massachusetts Institute of Technology. All Rights Reserved.