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:
- java.io.FileFilter, TopicMapSourceIF
public class LTMPathTopicMapSource
- extends AbstractOntopolyTopicMapSource
INTERNAL: Source that locates LTM topic map files in a directory on
the file system.
- Since:
- 1.1
Methods inherited from class net.ontopia.topicmaps.entry.AbstractOntopolyTopicMapSource |
createTopicMap, getAlwaysReindexOnLoad, getIndexDirectory, getMaintainFulltextIndexes, getSupportsCreate, getSupportsDelete, setAlwaysReindexOnLoad, setDeleteFiles, setIndexDirectory, setMaintainFulltextIndexes, setSupportsCreate, setSupportsDelete, supportsCreate, supportsDelete |
Methods inherited from class net.ontopia.topicmaps.entry.AbstractPathTopicMapSource |
accept, createReference, getBase, getBaseAddress, getDuplicateSuppression, getFileFilter, getHidden, getId, getPath, getReferences, getSuffix, getTitle, refresh, refreshFromClasspath, refreshFromFilesystem, setBase, setBaseAddress, setDuplicateSuppression, setFileFilter, setHidden, setId, setPath, setSuffix, setTitle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LTMPathTopicMapSource
public LTMPathTopicMapSource()
LTMPathTopicMapSource
public LTMPathTopicMapSource(java.lang.String path,
java.lang.String suffix)
LTMPathTopicMapSource
public LTMPathTopicMapSource(java.lang.String path,
java.io.FileFilter filter)
- 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
createReference
public TopicMapReferenceIF createReference(java.net.URL url,
java.lang.String id,
java.lang.String title,
LocatorIF base)
- Specified by:
createReference
in class AbstractOntopolyTopicMapSource
getWriter
public TopicMapWriterIF getWriter(java.io.File file)
throws java.io.IOException
- Description copied from class:
AbstractOntopolyTopicMapSource
- INTERNAL: Used by createTopicMap to serialize the new topic map.
- Specified by:
getWriter
in class AbstractOntopolyTopicMapSource
- Throws:
java.io.IOException
Copyright © 2000-2012 Ontopia.