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

Quick Search    Search Deep

org.dinopolis.gpstool.util
Class GeonetStreamTokenizer  view GeonetStreamTokenizer download GeonetStreamTokenizer.java

java.lang.Object
  extended byorg.dinopolis.util.io.Tokenizer
      extended byorg.dinopolis.gpstool.util.GeonetStreamTokenizer

public class GeonetStreamTokenizer
extends org.dinopolis.util.io.Tokenizer

This class allows to read tab-separated streams, files, readers. The tokenizer respects quoted entries, so a line of a b "c d" (a space here should be interpreted as a tab!) results in three entries ("a","b","c d").

Version:
$Revision: 1.2 $

Field Summary
static java.lang.String[] geonet_keys_
           
 
Fields inherited from class org.dinopolis.util.io.Tokenizer
buffer_, DELIMITER, delimiters_, EOF, eof_reached_, EOL, eol_is_significant_, ERROR, escape_char_, escape_mode_, last_token_, line_count_, NOT_STARTED, quote_char_, QUOTED_WORD, reader_, respect_escaped_chars_, respect_quoted_words_, WORD
 
Constructor Summary
GeonetStreamTokenizer(java.io.InputStream input_stream)
          Creates and initializes a StreamTokenizer from the given inputstream.
 
Method Summary
static void main(java.lang.String[] args)
          Demonstrates the usage of a GeonetStreamTokenizer
 
Methods inherited from class org.dinopolis.util.io.Tokenizer
close, eolIsSignificant, getDelimiter, getDelimiters, getEscapeChar, getLastToken, getLineNumber, getQuoteChar, getWord, hasNextLine, isDelimiter, isEndOfLine, isEolSignificant, isEscapeChar, isQuoteChar, nextLine, nextToken, readNextChar, removeZeroLengthElements, respectEscapedCharacters, respectEscapedCharacters, respectQuotedWords, respectQuotedWords, setDelimiter, setDelimiters, setEscapeChar, setQuoteChar, testGeonetUTF8, testHighLevel, testHighLevelExample, testLowLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

geonet_keys_

public static final java.lang.String[] geonet_keys_
Constructor Detail

GeonetStreamTokenizer

public GeonetStreamTokenizer(java.io.InputStream input_stream)
                      throws java.io.UnsupportedEncodingException
Creates and initializes a StreamTokenizer from the given inputstream.

Method Detail

main

public static void main(java.lang.String[] args)
Demonstrates the usage of a GeonetStreamTokenizer