Package net.ontopia.topicmaps.utils.ltm
Class LTMPathTopicMapSource
java.lang.Object
net.ontopia.topicmaps.entry.AbstractPathTopicMapSource
net.ontopia.topicmaps.entry.AbstractOntopolyTopicMapSource
net.ontopia.topicmaps.utils.ltm.LTMPathTopicMapSource
- All Implemented Interfaces:
FileFilter,AutoCloseable,TopicMapSourceIF
INTERNAL: Source that locates LTM topic map files in a directory on
the file system.
- Since:
- 1.1
-
Field Summary
Fields inherited from class net.ontopia.topicmaps.entry.AbstractOntopolyTopicMapSource
alwaysReindexOnLoad, indexDirectory, maintainFulltextIndexes, supportsCreate, supportsDeleteFields inherited from class net.ontopia.topicmaps.entry.AbstractPathTopicMapSource
base_address, duplicate_suppression, hidden, id, path, refmap, suffix, title -
Constructor Summary
ConstructorsConstructorDescriptionLTMPathTopicMapSource(String path, FileFilter filter) INTERNAL: Constructor that takes the file directory and a file filter.LTMPathTopicMapSource(String path, String suffix) -
Method Summary
Modifier and TypeMethodDescriptioncreateReference(URL url, String id, String title, LocatorIF base) INTERNAL: Used by createTopicMap to serialize the new topic map.Methods inherited from class net.ontopia.topicmaps.entry.AbstractOntopolyTopicMapSource
createTopicMap, getAlwaysReindexOnLoad, getIndexDirectory, getMaintainFulltextIndexes, getSupportsCreate, getSupportsDelete, setAlwaysReindexOnLoad, setIndexDirectory, setMaintainFulltextIndexes, setSupportsCreate, setSupportsDelete, supportsCreate, supportsDeleteMethods inherited from class net.ontopia.topicmaps.entry.AbstractPathTopicMapSource
accept, close, createReference, getBase, getBaseAddress, getDuplicateSuppression, getFileFilter, getHidden, getId, getPath, getReferences, getSuffix, getTitle, refresh, refreshFromClasspath, refreshFromFilesystem, setBase, setBaseAddress, setDuplicateSuppression, setFileFilter, setHidden, setId, setPath, setSuffix, setTitle
-
Constructor Details
-
LTMPathTopicMapSource
public LTMPathTopicMapSource() -
LTMPathTopicMapSource
-
LTMPathTopicMapSource
INTERNAL: Constructor that takes the file directory and a file filter.- Parameters:
path- the path to search for TopicMapsfilter- a java.io.FileFilter to filter the specified path- Since:
- 1.3.4
-
-
Method Details
-
createReference
- Specified by:
createReferencein classAbstractOntopolyTopicMapSource
-
getWriter
Description copied from class:AbstractOntopolyTopicMapSourceINTERNAL: Used by createTopicMap to serialize the new topic map.- Specified by:
getWriterin classAbstractOntopolyTopicMapSource- Throws:
IOException
-