Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

public interface Closeable

ExtendsAutoCloseable

Known subtypesDeflaterOutputStream, FilterInputStream, FilterOutputStream, GZIPInputStream, GZIPOutputStream, InflaterInputStream, ZipArchiveOutputStream, BufferedInputStream, BufferedOutputStream, BufferedReader, BufferedWriter, ByteArrayInputStream, ByteArrayOutputStream, DataInputStream, DataOutputStream, FilterInputStream, FilterOutputStream, InputStream, InputStreamReader, OutputStream, OutputStreamWriter, PrintStream, PrintWriter, Reader, StringReader, StringWriter, Writer, CheckedInputStream, CheckedOutputStream, DeflaterOutputStream, GZIPInputStream, GZIPOutputStream, InflaterInputStream, ZipInputStream, ZipOutputStream

A source or destination of data that holds something until it is closed: every stream, reader and writer.

Methods

public abstract void close() throws IOExceptionCloses this and releases what it holds.

Method details

close

public abstract void close() throws IOException
Closes this and releases what it holds. Closing it again has no effect.