Package com.perforce.p4java.diff
Class Sequence
- java.lang.Object
-
- com.perforce.p4java.diff.Sequence
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSequence.LineType
-
Field Summary
Fields Modifier and Type Field Description static intP4TUNE_FILESYS_BUFSIZE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intCopyLines(java.util.concurrent.atomic.AtomicInteger l, int m, byte[] buf, int length, Sequence.LineType lineType)voiddeleteFile()booleanDump(java.io.PrintWriter out, java.util.concurrent.atomic.AtomicInteger l, int m, Sequence.LineType lineType)booleanEqual(int lA, ISequence b, int lB)longLength(int l)longLength(int l, int m)longLengthLeft(int l)intLines()booleanProbablyEqual(int lA, ISequence b, int lB)voidReuse(RpcPerforceFile f, java.nio.charset.Charset charset)voidSeekLine(int l)voidStoreLine(int intue)
-
-
-
Constructor Detail
-
Sequence
public Sequence(RpcPerforceFile f, java.nio.charset.Charset charset, DiffFlags flags) throws java.io.IOException, FileEncoderException
- Throws:
java.io.IOExceptionFileEncoderException
-
-
Method Detail
-
SeekLine
public void SeekLine(int l) throws java.io.IOException, FileEncoderException- Throws:
java.io.IOExceptionFileEncoderException
-
CopyLines
public int CopyLines(java.util.concurrent.atomic.AtomicInteger l, int m, byte[] buf, int length, Sequence.LineType lineType) throws java.io.IOException- Throws:
java.io.IOException
-
Dump
public boolean Dump(java.io.PrintWriter out, java.util.concurrent.atomic.AtomicInteger l, int m, Sequence.LineType lineType) throws java.io.IOException- Throws:
java.io.IOException
-
Length
public long Length(int l)
-
Length
public long Length(int l, int m)
-
LengthLeft
public long LengthLeft(int l)
-
Equal
public boolean Equal(int lA, ISequence b, int lB) throws java.io.IOException, FileEncoderException- Specified by:
Equalin interfaceISequence- Throws:
java.io.IOExceptionFileEncoderException
-
ProbablyEqual
public boolean ProbablyEqual(int lA, ISequence b, int lB)- Specified by:
ProbablyEqualin interfaceISequence
-
StoreLine
public void StoreLine(int intue)
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-
deleteFile
public void deleteFile()
-
Reuse
public void Reuse(RpcPerforceFile f, java.nio.charset.Charset charset) throws FileEncoderException, java.io.IOException
- Throws:
FileEncoderExceptionjava.io.IOException
-
-