|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.utils.ImportExportUtils
public class ImportExportUtils
PUBLIC: Utilities for importing and exporting topic maps.
Constructor Summary | |
---|---|
ImportExportUtils()
|
Method Summary | |
---|---|
static TopicMapImporterIF |
getImporter(LocatorIF url)
PUBLIC: Given a locator referring to a topic map, returns a topic map reader of the right class. |
static TopicMapImporterIF |
getImporter(java.lang.String filename_or_url)
PUBLIC: Given the file name or URL of a topic map, returns a topic map importer of the right class. |
static TopicMapReaderIF |
getReader(java.io.File file)
PUBLIC: Given a file reference to a topic map, returns a topic map reader of the right class. |
static TopicMapReaderIF |
getReader(LocatorIF url)
PUBLIC: Given a locator referring to a topic map, returns a topic map reader of the right class. |
static TopicMapReaderIF |
getReader(java.util.Map properties,
java.lang.String filename_or_url)
PUBLIC: Given the topic map store properties and file name or URL of a topic map, returns a topic map reader of the right class. |
static TopicMapReaderIF |
getReader(java.lang.String filename_or_url)
PUBLIC: Given the file name or URL of a topic map, returns a topic map reader of the right class. |
static TopicMapReaderIF |
getReader(java.lang.String propfile,
java.lang.String filename_or_url)
PUBLIC: Given the topic map store properties file and file name or URL of a topic map, returns a topic map reader of the right class. |
static long |
getTopicMapId(java.lang.String address)
INTERNAL: Gets the numeric topic map id from an RDBMS URI or a simple topic map id reference. |
static TopicMapWriterIF |
getWriter(java.lang.String tmfile)
PUBLIC: Given the file name of a topicmap, returns a topicmap writer of the right class. |
static TopicMapWriterIF |
getWriter(java.lang.String tmfile,
java.lang.String encoding)
PUBLIC: Given the file name of a topicmap, returns a topicmap writer of the right class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImportExportUtils()
Method Detail |
---|
public static TopicMapReaderIF getReader(java.lang.String propfile, java.lang.String filename_or_url)
public static TopicMapReaderIF getReader(java.util.Map properties, java.lang.String filename_or_url)
public static TopicMapReaderIF getReader(java.io.File file) throws java.io.IOException
java.io.IOException
public static TopicMapReaderIF getReader(java.lang.String filename_or_url)
public static TopicMapReaderIF getReader(LocatorIF url)
public static TopicMapImporterIF getImporter(java.lang.String filename_or_url)
public static TopicMapImporterIF getImporter(LocatorIF url)
public static TopicMapWriterIF getWriter(java.lang.String tmfile) throws java.io.IOException
java.io.IOException
public static TopicMapWriterIF getWriter(java.lang.String tmfile, java.lang.String encoding) throws java.io.IOException
java.io.IOException
public static long getTopicMapId(java.lang.String address)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |