|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.diff.ParsedCharSequence
public final class ParsedCharSequence
A ParsedChar Sequence
| Constructor Summary | |
|---|---|
ParsedCharSequence(CharSequence sequence)
Construct a Parsed Char Sequence |
|
ParsedCharSequence(CharSequence sequence,
char delimiter)
construct a parsed char sequence |
|
ParsedCharSequence(java.io.File source)
Construct a Parsed Char Sequence |
|
ParsedCharSequence(java.io.File source,
boolean bIgnoreEOLs)
Construct a Parsed Char Sequence |
|
ParsedCharSequence(java.io.File source,
Encoding encoding)
Construct a Parsed Char Sequence |
|
ParsedCharSequence(java.io.File source,
Encoding encoding,
boolean bIgnoreEOLs)
Construct a Parsed Char Sequence |
|
ParsedCharSequence(LineReader reader)
Construct a Parsed Char Sequence |
|
ParsedCharSequence(java.io.Reader reader)
Construct a Parsed Char Sequence |
|
| Method Summary | |
|---|---|
boolean |
add(java.lang.Object o)
add an object |
void |
addLine(CharSequence aLine)
Add a Char Sequence |
boolean |
endsWithEOL()
Returns true if the content being parsed ends with an EOL character |
java.lang.Object |
get(int index)
returns the CharSequence at a given line |
CharSequence |
getLine(int n)
returns the CharSequence at a given line |
int |
getSize()
returns the size of the sequence |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParsedCharSequence(CharSequence sequence)
throws java.io.IOException
sequence - the sequence
java.io.IOException - throws an exception on error
public ParsedCharSequence(CharSequence sequence,
char delimiter)
throws java.io.IOException
sequence - the char sequencedelimiter - the delimiter to use
java.io.IOException - throws an excpetion on error
public ParsedCharSequence(java.io.Reader reader)
throws java.io.IOException
reader - the reader
java.io.IOException - throws an exception on error
public ParsedCharSequence(LineReader reader)
throws java.io.IOException
reader - the reader
java.io.IOException - throws an exception on error
public ParsedCharSequence(java.io.File source)
throws java.io.IOException
source - a source file
java.io.IOException - throw an exception on error
public ParsedCharSequence(java.io.File source,
Encoding encoding)
throws java.io.IOException
source - a source fileencoding - an Encoding
java.io.IOException - throw an exception on error
public ParsedCharSequence(java.io.File source,
boolean bIgnoreEOLs)
throws java.io.IOException
source - a source filebIgnoreEOLs - true to ignore EOLs
java.io.IOException - throw an exception on error
public ParsedCharSequence(java.io.File source,
Encoding encoding,
boolean bIgnoreEOLs)
throws java.io.IOException
source - the source fileencoding - the encodingbIgnoreEOLs - true to ignore EOLs
java.io.IOException - throw an exception on error| Method Detail |
|---|
public void addLine(CharSequence aLine)
aLine - the char sequencepublic CharSequence getLine(int n)
n - the index of the given line
public int getSize()
getSize in interface Sequencepublic boolean add(java.lang.Object o)
add in interface Sequenceo - the object to add
public java.lang.Object get(int index)
get in interface Sequenceindex - the index of the given line
public boolean endsWithEOL()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||