|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.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(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(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(Map properties,
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(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(String propfile,
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(String address)
INTERNAL: Gets the numeric topic map id from an RDBMS URI or a simple topic map id reference. |
static TopicMapWriterIF |
getWriter(String tmfile)
PUBLIC: Given the file name of a topicmap, returns a topicmap writer of the right class. |
static TopicMapWriterIF |
getWriter(String tmfile,
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(String propfile, String filename_or_url)
public static TopicMapReaderIF getReader(Map properties, String filename_or_url)
public static TopicMapReaderIF getReader(File file) throws IOException
IOException
public static TopicMapReaderIF getReader(String filename_or_url)
public static TopicMapReaderIF getReader(LocatorIF url)
public static TopicMapImporterIF getImporter(String filename_or_url)
public static TopicMapImporterIF getImporter(LocatorIF url)
public static TopicMapWriterIF getWriter(String tmfile) throws IOException
IOException
public static TopicMapWriterIF getWriter(String tmfile, String encoding) throws IOException
IOException
public static long getTopicMapId(String address)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |