OpenMMS
V1.5.1 Std

org.rcsb.openmms.cifparse
Class CifTokenizer

java.lang.Object
  |
  +--org.rcsb.openmms.cifparse.CifTokenizer

public class CifTokenizer
extends java.lang.Object

Class that reads the cif/STAR formatted file and breaks it up into tokens at "word" boundaries.

Version:
1.5
Author:
Douglas S. Greer

Field Summary
static boolean debugTokenizer
           
 boolean tokenIsName
           
 
Constructor Summary
CifTokenizer(java.lang.String urlStr)
           
 
Method Summary
 void close()
           
 java.lang.String filename()
           
 int getLineNumber()
           
 java.lang.String getToken()
           
 void printToken(java.lang.String token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debugTokenizer

public static final boolean debugTokenizer
See Also:
Constant Field Values

tokenIsName

public boolean tokenIsName
Constructor Detail

CifTokenizer

public CifTokenizer(java.lang.String urlStr)
             throws java.io.IOException
Method Detail

filename

public java.lang.String filename()

getLineNumber

public int getLineNumber()

getToken

public java.lang.String getToken()
                          throws java.io.IOException,
                                 CifParseException
java.io.IOException
CifParseException

close

public void close()
           throws java.io.IOException
java.io.IOException

printToken

public void printToken(java.lang.String token)
                throws java.io.IOException
java.io.IOException

OpenMMS
V1.5.1 Std

OpenMMS, Copyright 2001, All rights reserved