Crossfire JXClient, Trunk
Classes | Static Public Member Functions | List of all members
CustomAutoCloseableSample Class Reference
Collaboration diagram for CustomAutoCloseableSample:
Collaboration graph

Classes

class  TeeStream
 

Static Public Member Functions

static void main (String[] args)
 

Detailed Description

This sample demonstrates the ability to create custom resource that implements the

AutoCloseable

interface. This resource can be used in the try-with-resources construct.

Definition at line 53 of file CustomAutoCloseableSample.java.

Member Function Documentation

◆ main()

static void CustomAutoCloseableSample.main ( String[]  args)
static

The main method for the CustomAutoCloseableSample program.

Parameters
argsis not used.

Definition at line 60 of file CustomAutoCloseableSample.java.


The documentation for this class was generated from the following file: