Package com.facebook.soloader
Class UnpackingSoSource.InputDsoStream
- java.lang.Object
-
- com.facebook.soloader.UnpackingSoSource.InputDsoStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
- Enclosing class:
- UnpackingSoSource
public static class UnpackingSoSource.InputDsoStream extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description InputDsoStream(UnpackingSoSource.Dso dso, java.io.InputStream content)
-
Method Summary
Modifier and Type Method Description intavailable()voidclose()UnpackingSoSource.DsogetDso()java.lang.StringgetFileName()java.io.InputStreamgetStream()voidwrite(java.io.DataOutput out, byte[] ioBuffer)
-
-
-
Constructor Detail
-
InputDsoStream
public InputDsoStream(UnpackingSoSource.Dso dso, java.io.InputStream content)
-
-
Method Detail
-
write
public void write(java.io.DataOutput out, byte[] ioBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
getDso
public UnpackingSoSource.Dso getDso()
-
getFileName
public java.lang.String getFileName()
-
available
public int available() throws java.io.IOException- Throws:
java.io.IOException
-
getStream
public java.io.InputStream getStream()
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-