infovis.tree.io
Class DirectoryTreeReader

java.lang.Object
  extended by infovis.io.AbstractReader
      extended by infovis.table.io.AbstractTableReader
          extended by infovis.tree.io.AbstractTreeReader
              extended by infovis.tree.io.DirectoryTreeReader

public class DirectoryTreeReader
extends AbstractTreeReader

Reader of Directory.

Version:
$Revision: 1.21 $
Author:
Jean-Daniel Fekete

Field Summary
static String COLUMN_DATE
           
static String COLUMN_LENGTH
           
static String COLUMN_NAME
           
static String COLUMN_PATH
           
 
Constructor Summary
DirectoryTreeReader(BufferedReader ignore, String directory, Table table)
           
DirectoryTreeReader(BufferedReader ignore, String directory, Tree tree)
           
DirectoryTreeReader(String directory, Tree tree)
           
 
Method Summary
 boolean load()
          Main method for loading the file.
 
Methods inherited from class infovis.tree.io.AbstractTreeReader
findNode
 
Methods inherited from class infovis.table.io.AbstractTableReader
close, getBuffer, getBufferedReader, getCommentChar, getField, getIn, getTable, ignoreLine, isEof, read, readInt, readLine, readQuoted, setBuffer, setCommentChar, setEof, setTable, skipToEol
 
Methods inherited from class infovis.io.AbstractReader
createColumn, getEncoding, getName, guessFieldType, setEncoding, setIn, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLUMN_NAME

public static final String COLUMN_NAME
See Also:
Constant Field Values

COLUMN_LENGTH

public static final String COLUMN_LENGTH
See Also:
Constant Field Values

COLUMN_DATE

public static final String COLUMN_DATE
See Also:
Constant Field Values

COLUMN_PATH

public static final String COLUMN_PATH
See Also:
Constant Field Values
Constructor Detail

DirectoryTreeReader

public DirectoryTreeReader(BufferedReader ignore,
                           String directory,
                           Tree tree)

DirectoryTreeReader

public DirectoryTreeReader(String directory,
                           Tree tree)

DirectoryTreeReader

public DirectoryTreeReader(BufferedReader ignore,
                           String directory,
                           Table table)
Method Detail

load

public boolean load()
Description copied from class: AbstractReader
Main method for loading the file. The loading may fail at any point, leaving the table in an indefinite state if the methods returns false.

Specified by:
load in class AbstractReader
Returns:
true if the file has been loaded without error, false otherwise.
See Also:
AbstractReader.load()


Copyright 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.