public class SVNPatchFileStream extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
SVNPatchFileStream.SVNPatchFileLineFilter |
static interface |
SVNPatchFileStream.SVNPatchFileLineTransformer |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
File |
getPath() |
long |
getSeekPosition() |
boolean |
isEOF() |
static SVNPatchFileStream |
openForWrite(File path) |
static SVNPatchFileStream |
openRangeReadOnly(File path,
long start,
long end) |
static SVNPatchFileStream |
openReadOnly(File path) |
boolean |
readLine(StringBuffer lineBuf) |
boolean |
readLine(StringBuffer lineBuf,
String eolStr) |
boolean |
readLineWithEol(StringBuffer lineBuf,
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(StringBuffer lineBuf) |
void |
write(String str) |
void |
write(StringBuffer str) |
public static SVNPatchFileStream openReadOnly(File path) throws IOException, SVNException
IOExceptionSVNExceptionpublic static SVNPatchFileStream openRangeReadOnly(File path, long start, long end) throws IOException, SVNException
IOExceptionSVNExceptionpublic static SVNPatchFileStream openForWrite(File path) throws IOException, SVNException
IOExceptionSVNExceptionpublic File getPath()
public void setLineFilter(SVNPatchFileStream.SVNPatchFileLineFilter lineFilter)
public void setLineTransformer(SVNPatchFileStream.SVNPatchFileLineTransformer lineTransfomer)
public void reset()
throws IOException,
SVNException
IOExceptionSVNExceptionpublic void close()
throws IOException
IOExceptionpublic boolean isEOF()
throws IOException,
SVNException
IOExceptionSVNExceptionpublic long getSeekPosition()
throws SVNException,
IOException
SVNExceptionIOExceptionpublic void setSeekPosition(long pos)
throws SVNException,
IOException
SVNExceptionIOExceptionpublic void write(String str) throws SVNException, IOException
SVNExceptionIOExceptionpublic void write(StringBuffer str) throws SVNException, IOException
SVNExceptionIOExceptionpublic void tryWrite(StringBuffer lineBuf) throws SVNException, IOException
SVNExceptionIOExceptionpublic boolean readLineWithEol(StringBuffer lineBuf, StringBuffer eolStr) throws IOException, SVNException
IOExceptionSVNExceptionpublic boolean readLine(StringBuffer lineBuf) throws IOException, SVNException
IOExceptionSVNExceptionpublic boolean readLine(StringBuffer lineBuf, String eolStr) throws IOException, SVNException
IOExceptionSVNExceptionCopyright © 2025. All rights reserved.