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.IOExceptionSVNExceptionpublic static SVNPatchFileStream openRangeReadOnly(java.io.File path, long start, long end) throws java.io.IOException, SVNException
java.io.IOExceptionSVNExceptionpublic static SVNPatchFileStream openForWrite(java.io.File path) throws java.io.IOException, SVNException
java.io.IOExceptionSVNExceptionpublic 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.IOExceptionSVNExceptionpublic void close()
throws java.io.IOException
java.io.IOExceptionpublic boolean isEOF()
throws java.io.IOException,
SVNException
java.io.IOExceptionSVNExceptionpublic long getSeekPosition()
throws SVNException,
java.io.IOException
SVNExceptionjava.io.IOExceptionpublic void setSeekPosition(long pos)
throws SVNException,
java.io.IOException
SVNExceptionjava.io.IOExceptionpublic void write(java.lang.String str)
throws SVNException,
java.io.IOException
SVNExceptionjava.io.IOExceptionpublic void write(java.lang.StringBuffer str)
throws SVNException,
java.io.IOException
SVNExceptionjava.io.IOExceptionpublic void tryWrite(java.lang.StringBuffer lineBuf)
throws SVNException,
java.io.IOException
SVNExceptionjava.io.IOExceptionpublic boolean readLineWithEol(java.lang.StringBuffer lineBuf,
java.lang.StringBuffer eolStr)
throws java.io.IOException,
SVNException
java.io.IOExceptionSVNExceptionpublic boolean readLine(java.lang.StringBuffer lineBuf)
throws java.io.IOException,
SVNException
java.io.IOExceptionSVNExceptionpublic boolean readLine(java.lang.StringBuffer lineBuf,
java.lang.String eolStr)
throws java.io.IOException,
SVNException
java.io.IOExceptionSVNExceptionCopyright © 2004-2012 TMate Software Ltd. All Rights Reserved.