Class ConnectionManager.ClientJarInputStream

java.lang.Object
java.io.InputStream
de.espirit.firstspirit.access.ConnectionManager.ClientJarInputStream
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
ConnectionManager

@Deprecated(since="5.2.261111", forRemoval=true) public static class ConnectionManager.ClientJarInputStream extends InputStream
Deprecated, for removal: This API element is subject to removal in a future version.
since 5.2.261111 - no replacement: The fs-client.jar is no longer available.
An input stream for accessing the client jar.
Since:
4.0.17
  • Constructor Summary

    Constructors
    Constructor
    Description
    ClientJarInputStream(String host, int port, int mode, String servletZone)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Constructs a stream by the given arguments.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Indicates the stream to be available.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Closes the stream.
    long
    Deprecated, for removal: This API element is subject to removal in a future version.
    Provides the size of the jar.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Indicates, whether this stream supports mark and reset.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    Reads a byte.
    int
    read(byte @NotNull [] b)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Reads some bytes into the given byte buffer.
    int
    read(byte @NotNull [] b, int off, int len)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Reads some bytes into the given byte buffer starting at the given offset of that buffer.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • available

      public int available() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Indicates the stream to be available.
      Overrides:
      available in class InputStream
      Returns:
      true, if available.
      Throws:
      IOException
      Since:
      4.0.17
    • getClientJarSize

      public long getClientJarSize()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Provides the size of the jar.
      Returns:
      The jar's size.
      Since:
      4.0.17
    • close

      public void close()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Closes the stream.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Overrides:
      close in class InputStream
      Since:
      4.0.17
    • markSupported

      public boolean markSupported()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Indicates, whether this stream supports mark and reset.
      Overrides:
      markSupported in class InputStream
      Returns:
      Always false, as both methods are not supported.
      Since:
      4.0.17
    • read

      public int read() throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Reads a byte.
      Specified by:
      read in class InputStream
      Returns:
      The next byte.
      Throws:
      IOException
      Since:
      4.0.17
    • read

      public int read(byte @NotNull [] b) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Reads some bytes into the given byte buffer.
      Overrides:
      read in class InputStream
      Parameters:
      b - A buffer.
      Returns:
      The number of read bytes.
      Throws:
      IOException - If reading bytes failed.
      Since:
      4.0.17
    • read

      public int read(byte @NotNull [] b, int off, int len) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Reads some bytes into the given byte buffer starting at the given offset of that buffer. Will read at most the defined number of bytes.
      Overrides:
      read in class InputStream
      Parameters:
      b - A buffer.
      off - The write offset.
      len - The number of bytes to read.
      Returns:
      The actual number of bytes read.
      Throws:
      IOException - If reading bytes failed.
      Since:
      4.0.17