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
IOException
SVNException
public static SVNPatchFileStream openRangeReadOnly(File path, long start, long end) throws IOException, SVNException
IOException
SVNException
public static SVNPatchFileStream openForWrite(File path) throws IOException, SVNException
IOException
SVNException
public File getPath()
public void setLineFilter(SVNPatchFileStream.SVNPatchFileLineFilter lineFilter)
public void setLineTransformer(SVNPatchFileStream.SVNPatchFileLineTransformer lineTransfomer)
public void reset() throws IOException, SVNException
IOException
SVNException
public void close() throws IOException
IOException
public boolean isEOF() throws IOException, SVNException
IOException
SVNException
public long getSeekPosition() throws SVNException, IOException
SVNException
IOException
public void setSeekPosition(long pos) throws SVNException, IOException
SVNException
IOException
public void write(String str) throws SVNException, IOException
SVNException
IOException
public void write(StringBuffer str) throws SVNException, IOException
SVNException
IOException
public void tryWrite(StringBuffer lineBuf) throws SVNException, IOException
SVNException
IOException
public boolean readLineWithEol(StringBuffer lineBuf, StringBuffer eolStr) throws IOException, SVNException
IOException
SVNException
public boolean readLine(StringBuffer lineBuf) throws IOException, SVNException
IOException
SVNException
public boolean readLine(StringBuffer lineBuf, String eolStr) throws IOException, SVNException
IOException
SVNException
Copyright © 2024. All rights reserved.