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

Classes

enum  Action
 

Static Public Member Functions

static void main (String[] args) throws Throwable
 

Static Private Member Functions

static void chCopy (Path src, Path dst) throws IOException
 
static void checkEqual (Path src, Path dst) throws IOException
 
static void extract (FileSystem fs, String path) throws Throwable
 
static void fchCopy (Path src, Path dst) throws IOException
 
static byte[] getBytes (String name)
 
static String getString (byte[] name)
 
static FileSystemProvider getZipFSProvider ()
 
static void list (Path path, boolean verbose) throws IOException
 
static void mkdirs (Path path) throws IOException
 
static void rmdirs (Path path) throws IOException
 
static void streamCopy (Path src, Path dst) throws IOException
 
static void update (FileSystem fs, String path) throws Throwable
 
static void walk (Path path) throws IOException
 
static void z2zcopy (FileSystem src, FileSystem dst, String path) throws IOException
 
static void z2zmove (FileSystem src, FileSystem dst, String path) throws IOException
 

Detailed Description

Definition at line 62 of file Demo.java.

Member Function Documentation

◆ chCopy()

static void Demo.chCopy ( Path  src,
Path  dst 
) throws IOException
staticprivate

Definition at line 677 of file Demo.java.

References read.

◆ checkEqual()

static void Demo.checkEqual ( Path  src,
Path  dst 
) throws IOException
staticprivate

Checks that the content of two paths are equal. Not used in demo, but included for demonstrational purposes.

Definition at line 585 of file Demo.java.

◆ extract()

static void Demo.extract ( FileSystem  fs,
String  path 
) throws Throwable
staticprivate

Definition at line 442 of file Demo.java.

References fs, and path.

Referenced by main().

Here is the caller graph for this function:

◆ fchCopy()

static void Demo.fchCopy ( Path  src,
Path  dst 
) throws IOException
staticprivate

Definition at line 657 of file Demo.java.

References read.

◆ getBytes()

static byte [] Demo.getBytes ( String  name)
staticprivate

Not used in demo, but included for demonstrational purposes.

Definition at line 373 of file Demo.java.

References name().

Here is the call graph for this function:

◆ getString()

static String Demo.getString ( byte[]  name)
staticprivate

Not used in demo, but included for demonstrational purposes.

Definition at line 381 of file Demo.java.

References name().

Here is the call graph for this function:

◆ getZipFSProvider()

static FileSystemProvider Demo.getZipFSProvider ( )
staticprivate

Definition at line 361 of file Demo.java.

Referenced by main().

Here is the caller graph for this function:

◆ list()

static void Demo.list ( Path  path,
boolean  verbose 
) throws IOException
staticprivate

Definition at line 564 of file Demo.java.

References path.

Referenced by main().

Here is the caller graph for this function:

◆ main()

static void Demo.main ( String[]  args) throws Throwable
static

Definition at line 155 of file Demo.java.

References Demo.Action.create, env, extract(), fs, getZipFSProvider(), list(), mkdirs(), path, update(), walk(), z2zcopy(), and z2zmove().

Here is the call graph for this function:

◆ mkdirs()

static void Demo.mkdirs ( Path  path) throws IOException
staticprivate

Definition at line 543 of file Demo.java.

References path.

Referenced by main().

Here is the caller graph for this function:

◆ rmdirs()

static void Demo.rmdirs ( Path  path) throws IOException
staticprivate

Not used in demo, but included for demonstrational purposes.

Definition at line 557 of file Demo.java.

References path.

◆ streamCopy()

static void Demo.streamCopy ( Path  src,
Path  dst 
) throws IOException
staticprivate

Definition at line 697 of file Demo.java.

◆ update()

static void Demo.update ( FileSystem  fs,
String  path 
) throws Throwable
staticprivate

Definition at line 426 of file Demo.java.

References fs, path, and update.

Referenced by main().

Here is the caller graph for this function:

◆ walk()

static void Demo.walk ( Path  path) throws IOException
staticprivate

Definition at line 385 of file Demo.java.

References file, and path.

Referenced by main().

Here is the caller graph for this function:

◆ z2zcopy()

static void Demo.z2zcopy ( FileSystem  src,
FileSystem  dst,
String  path 
) throws IOException
staticprivate

Definition at line 461 of file Demo.java.

References path.

Referenced by main().

Here is the caller graph for this function:

◆ z2zmove()

static void Demo.z2zmove ( FileSystem  src,
FileSystem  dst,
String  path 
) throws IOException
staticprivate

Definition at line 486 of file Demo.java.

References file, and path.

Referenced by main().

Here is the caller graph for this function:

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