Package org.eclipse.jgit.transport
Class WalkRemoteObjectDatabase.FileStream
- java.lang.Object
-
- org.eclipse.jgit.transport.WalkRemoteObjectDatabase.FileStream
-
- Enclosing class:
- WalkRemoteObjectDatabase
static final class WalkRemoteObjectDatabase.FileStream extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FileStream(java.io.InputStream i)
Create a new stream of unknown length.FileStream(java.io.InputStream i, long n)
Create a new stream of known length.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) byte[]
toArray()
-
-
-
Constructor Detail
-
FileStream
FileStream(java.io.InputStream i)
Create a new stream of unknown length.- Parameters:
i
- stream containing the file data. This stream will be closed by the caller when reading is complete.
-
FileStream
FileStream(java.io.InputStream i, long n)
Create a new stream of known length.- Parameters:
i
- stream containing the file data. This stream will be closed by the caller when reading is complete.n
- total number of bytes available for reading throughi
.
-
-