Class RemoteReader.RemoteBinary
- java.lang.Object
-
- java.io.InputStream
-
- com.composum.sling.nodes.mount.remote.RemoteReader.RemoteBinary
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- RemoteReader
public class RemoteReader.RemoteBinary extends InputStream
-
-
Field Summary
Fields Modifier and Type Field Description protected StringpropertyPath
-
Constructor Summary
Constructors Constructor Description RemoteBinary(String propertyPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected voidconnect()protected InputStreamcontent()intread()protected voidrelease()-
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Field Detail
-
propertyPath
protected final String propertyPath
-
-
Constructor Detail
-
RemoteBinary
public RemoteBinary(String propertyPath)
-
-
Method Detail
-
connect
protected void connect()
-
release
protected void release()
-
content
protected InputStream content()
-
read
public int read() throws IOException- Specified by:
readin classInputStream- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
-