Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

cvebrowser.dictionary.data.parser
Class CSVMitreFileFactory  view CSVMitreFileFactory download CSVMitreFileFactory.java

java.lang.Object
  extended bycvebrowser.dictionary.data.parser.CSVMitreFileFactory

public final class CSVMitreFileFactory
extends java.lang.Object

This class returns to the caller the apropiate FileType.

Version:
0.1 - 06/29/2003

Field Summary
private static java.util.ResourceBundle _bundle
           
 
Constructor Summary
private CSVMitreFileFactory()
           
 
Method Summary
 java.lang.Object clone()
          Make this class uncloneable.
static CSVFile getCSVFile(java.io.InputStream inputStream_)
          Returns the appropiate CSVFileType for a given input stream.
static CSVFile getCSVFile(java.lang.String fileName_)
          Returns the appropiate CSVFileType for a given file.
private  void readObject(java.io.ObjectInputStream in_)
          Make this class undeserializeable.
private  void writeObject(java.io.ObjectOutputStream out_)
          Make this class unserializable.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_bundle

private static java.util.ResourceBundle _bundle
Constructor Detail

CSVMitreFileFactory

private CSVMitreFileFactory()
Method Detail

getCSVFile

public static CSVFile getCSVFile(java.lang.String fileName_)
                          throws java.lang.IllegalArgumentException,
                                 DataParserException
Returns the appropiate CSVFileType for a given file. In the file type is unknown then an exception is throw.


getCSVFile

public static CSVFile getCSVFile(java.io.InputStream inputStream_)
                          throws java.lang.IllegalArgumentException,
                                 DataParserException
Returns the appropiate CSVFileType for a given input stream. In the stream type is unknown then an exception is throw.


clone

public final java.lang.Object clone()
                             throws java.lang.CloneNotSupportedException
Make this class uncloneable. Anyone who wants to use this class must use the constructor.


writeObject

private final void writeObject(java.io.ObjectOutputStream out_)
                        throws java.io.IOException
Make this class unserializable. Any attempt to serialize will throw an exception.


readObject

private final void readObject(java.io.ObjectInputStream in_)
                       throws java.io.IOException
Make this class undeserializeable. Throw an exception if this method is ever called.