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 String
propertyPath
-
Constructor Summary
Constructors Constructor Description RemoteBinary(String propertyPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected void
connect()
protected InputStream
content()
int
read()
protected void
release()
-
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:
read
in classInputStream
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-
-