net.ontopia.topicmaps.utils.ctm
Class CTMPathTopicMapSource
java.lang.Object
net.ontopia.topicmaps.entry.AbstractPathTopicMapSource
net.ontopia.topicmaps.entry.AbstractOntopolyTopicMapSource
net.ontopia.topicmaps.utils.ctm.CTMPathTopicMapSource
- All Implemented Interfaces:
- java.io.FileFilter, TopicMapSourceIF
public class CTMPathTopicMapSource
- extends AbstractOntopolyTopicMapSource
INTERNAL: Source that locates CTM topic map files in a directory on
the file system.
- Since:
- 4.0.5
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 |
CTMPathTopicMapSource
public CTMPathTopicMapSource()
CTMPathTopicMapSource
public CTMPathTopicMapSource(java.lang.String path,
java.lang.String suffix)
CTMPathTopicMapSource
public CTMPathTopicMapSource(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:
- 4.0.5
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.