public class SVNPatchFileStream
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
SVNPatchFileStream.SVNPatchFileLineFilter |
static interface |
SVNPatchFileStream.SVNPatchFileLineTransformer |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.io.File |
getPath() |
long |
getSeekPosition() |
boolean |
isEOF() |
static SVNPatchFileStream |
openForWrite(java.io.File path) |
static SVNPatchFileStream |
openRangeReadOnly(java.io.File path,
long start,
long end) |
static SVNPatchFileStream |
openReadOnly(java.io.File path) |
boolean |
readLine(java.lang.StringBuffer lineBuf) |
boolean |
readLine(java.lang.StringBuffer lineBuf,
java.lang.String eolStr) |
boolean |
readLineWithEol(java.lang.StringBuffer lineBuf,
java.lang.StringBuffer eolStr) |
void |
reset()
Reset a generic stream back to its origin.
|
void |
setLineFilter(SVNPatchFileStream.SVNPatchFileLineFilter lineFilter) |
void |
setLineTransformer(SVNPatchFileStream.SVNPatchFileLineTransformer lineTransfomer) |
void |
setSeekPosition(long pos) |
void |
tryWrite(java.lang.StringBuffer lineBuf) |
void |
write(java.lang.String str) |
void |
write(java.lang.StringBuffer str) |
public static SVNPatchFileStream openReadOnly(java.io.File path) throws java.io.IOException, SVNException
java.io.IOException
SVNException
public static SVNPatchFileStream openRangeReadOnly(java.io.File path, long start, long end) throws java.io.IOException, SVNException
java.io.IOException
SVNException
public static SVNPatchFileStream openForWrite(java.io.File path) throws java.io.IOException, SVNException
java.io.IOException
SVNException
public java.io.File getPath()
public void setLineFilter(SVNPatchFileStream.SVNPatchFileLineFilter lineFilter)
public void setLineTransformer(SVNPatchFileStream.SVNPatchFileLineTransformer lineTransfomer)
public void reset() throws java.io.IOException, SVNException
java.io.IOException
SVNException
public void close() throws java.io.IOException
java.io.IOException
public boolean isEOF() throws java.io.IOException, SVNException
java.io.IOException
SVNException
public long getSeekPosition() throws SVNException, java.io.IOException
SVNException
java.io.IOException
public void setSeekPosition(long pos) throws SVNException, java.io.IOException
SVNException
java.io.IOException
public void write(java.lang.String str) throws SVNException, java.io.IOException
SVNException
java.io.IOException
public void write(java.lang.StringBuffer str) throws SVNException, java.io.IOException
SVNException
java.io.IOException
public void tryWrite(java.lang.StringBuffer lineBuf) throws SVNException, java.io.IOException
SVNException
java.io.IOException
public boolean readLineWithEol(java.lang.StringBuffer lineBuf, java.lang.StringBuffer eolStr) throws java.io.IOException, SVNException
java.io.IOException
SVNException
public boolean readLine(java.lang.StringBuffer lineBuf) throws java.io.IOException, SVNException
java.io.IOException
SVNException
public boolean readLine(java.lang.StringBuffer lineBuf, java.lang.String eolStr) throws java.io.IOException, SVNException
java.io.IOException
SVNException
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.