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

Quick Search    Search Deep

org.ematgine.utils.parser.files
Class FileHashtable  view FileHashtable download FileHashtable.java

java.lang.Object
  extended byorg.ematgine.utils.parser.files.FileHashtable

public class FileHashtable
extends java.lang.Object


Field Summary
private  java.lang.String filelink
          Filepath with filename
private  java.io.File the_file
          File
private  java.io.FileInputStream the_file_input_stream
          File Input Stream used by several method
 
Constructor Summary
FileHashtable(java.lang.String filename)
          Constructor
FileHashtable(java.lang.String directory, java.lang.String filename)
          Constructor
 
Method Summary
 void endParsing()
          close the file to end the parsing
private  java.lang.String getFileSeparator()
          get the file separator according to the file system
 boolean isAvailable()
          is there any information left in the file
 java.util.Hashtable readHashtable()
          Description of the Method
 void startParsing()
          open the file to start the parsing
 boolean writeHashtable(java.util.Hashtable hash_to_write)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filelink

private java.lang.String filelink
Filepath with filename


the_file

private java.io.File the_file
File


the_file_input_stream

private java.io.FileInputStream the_file_input_stream
File Input Stream used by several method

Constructor Detail

FileHashtable

public FileHashtable(java.lang.String directory,
                     java.lang.String filename)
Constructor


FileHashtable

public FileHashtable(java.lang.String filename)
Constructor

Method Detail

startParsing

public void startParsing()
open the file to start the parsing


endParsing

public void endParsing()
close the file to end the parsing


isAvailable

public boolean isAvailable()
is there any information left in the file


getFileSeparator

private java.lang.String getFileSeparator()
get the file separator according to the file system


writeHashtable

public boolean writeHashtable(java.util.Hashtable hash_to_write)
Description of the Method


readHashtable

public java.util.Hashtable readHashtable()
                                  throws java.lang.Exception
Description of the Method