ix.util.xml
Class FileSyntax.RDFFiles

java.lang.Object
  extended by ix.util.xml.AbstractFileSyntax
      extended by ix.util.xml.FileSyntax.RDFFiles
All Implemented Interfaces:
FileSyntax, Loader, Saver
Enclosing interface:
FileSyntax

public static class FileSyntax.RDFFiles
extends AbstractFileSyntax

RDF file syntax.


Nested Class Summary
 
Nested classes/interfaces inherited from interface ix.util.xml.FileSyntax
FileSyntax.RDFFiles, FileSyntax.XMLFiles
 
Field Summary
 
Fields inherited from class ix.util.xml.AbstractFileSyntax
ANY_CLASS
 
Constructor Summary
FileSyntax.RDFFiles()
           
 
Method Summary
 boolean canRead()
          Is reading supported?
 boolean canWrite()
          Is writing supported?
 java.lang.String getFileTypeDescription()
          Returns a short description of the type of files understood by this FileSyntax.
 java.util.List getFileTypes()
          Returns a set of strings representing file types / extensions.
protected  java.lang.Object getTranslator()
           
 boolean isAvailable()
          Indicates whether this syntax can be used.
 java.lang.Object readObject(java.net.URL url)
           
 void writeObject(java.lang.Object obj, java.io.File file)
           
 
Methods inherited from class ix.util.xml.AbstractFileSyntax
existsClass, makeInstance, readableClasses, toString, writableClasses
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileSyntax.RDFFiles

public FileSyntax.RDFFiles()
Method Detail

getFileTypes

public java.util.List getFileTypes()
Description copied from interface: FileSyntax
Returns a set of strings representing file types / extensions.


getFileTypeDescription

public java.lang.String getFileTypeDescription()
Description copied from interface: FileSyntax
Returns a short description of the type of files understood by this FileSyntax. The result should be a plural phrase such as "XML files" or "domain descriptions".


isAvailable

public boolean isAvailable()
Description copied from interface: FileSyntax
Indicates whether this syntax can be used. Some syntaxes rely on classes that are not always present in the class-path.

Specified by:
isAvailable in interface FileSyntax
Overrides:
isAvailable in class AbstractFileSyntax

canRead

public boolean canRead()
Description copied from interface: FileSyntax
Is reading supported?

Specified by:
canRead in interface FileSyntax
Overrides:
canRead in class AbstractFileSyntax

canWrite

public boolean canWrite()
Description copied from interface: FileSyntax
Is writing supported?

Specified by:
canWrite in interface FileSyntax
Overrides:
canWrite in class AbstractFileSyntax

readObject

public java.lang.Object readObject(java.net.URL url)
                            throws java.io.IOException
Specified by:
readObject in interface Loader
Overrides:
readObject in class AbstractFileSyntax
Throws:
java.io.IOException

writeObject

public void writeObject(java.lang.Object obj,
                        java.io.File file)
                 throws java.io.IOException
Specified by:
writeObject in interface Saver
Overrides:
writeObject in class AbstractFileSyntax
Throws:
java.io.IOException

getTranslator

protected java.lang.Object getTranslator()