Class SVNSpillBufferReader

java.lang.Object
org.tmatesoft.svn.core.internal.util.SVNSpillBufferReader
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable

public class SVNSpillBufferReader extends java.lang.Object implements java.io.Closeable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final SVNSpillBuffer
     
    private byte[]
     
    private int
     
    private int
     
    private int
     
    private byte[]
     
    private int
     
    private int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    int
    read(byte[] data, int offset, int length)
     
    char
     
    void
    write(byte[] data, int offset, int length)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • buffer

      private final SVNSpillBuffer buffer
    • saveBuffer

      private byte[] saveBuffer
    • savePointer

      private int savePointer
    • savePosition

      private int savePosition
    • saveLength

      private int saveLength
    • sbBuffer

      private byte[] sbBuffer
    • sbPointer

      private int sbPointer
    • sbLength

      private int sbLength
  • Constructor Details

    • SVNSpillBufferReader

      public SVNSpillBufferReader(SVNSpillBuffer buffer)
  • Method Details

    • read

      public int read(byte[] data, int offset, int length) throws java.io.IOException
      Throws:
      java.io.IOException
    • readChar

      public char readChar() throws SVNException
      Throws:
      SVNException
    • write

      public void write(byte[] data, int offset, int length)
    • close

      public void close()
      Specified by:
      close in interface java.lang.AutoCloseable
      Specified by:
      close in interface java.io.Closeable