| 
 | JGraph X 2.1.0.7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Reader
com.mxgraph.util.svg.NormalizingReader
com.mxgraph.util.svg.StringNormalizingReader
public class StringNormalizingReader
This class represents a NormalizingReader which handles Strings.
| Field Summary | |
|---|---|
| protected  int | columnThe current column in the stream. | 
| protected  int | lengthThe length of the string. | 
| protected  int | lineThe current line in the stream. | 
| protected  int | nextThe index of the next character. | 
| protected  String | stringThe characters. | 
| Fields inherited from class java.io.Reader | 
|---|
| lock | 
| Constructor Summary | |
|---|---|
| StringNormalizingReader(String s)Creates a new StringNormalizingReader. | |
| Method Summary | |
|---|---|
|  void | close()Close the stream. | 
|  int | getColumn()Returns the current column in the stream. | 
|  int | getLine()Returns the current line in the stream. | 
|  int | read()Read a single character. | 
| Methods inherited from class com.mxgraph.util.svg.NormalizingReader | 
|---|
| read | 
| Methods inherited from class java.io.Reader | 
|---|
| mark, markSupported, read, read, ready, reset, skip | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected String string
protected int length
protected int next
protected int line
protected int column
| Constructor Detail | 
|---|
public StringNormalizingReader(String s)
s - The string to read.| Method Detail | 
|---|
public int read()
         throws IOException
read in class ReaderIOExceptionpublic int getLine()
getLine in class NormalizingReaderpublic int getColumn()
getColumn in class NormalizingReader
public void close()
           throws IOException
close in interface Closeableclose in class ReaderIOException| 
 | JGraph X 2.1.0.7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||