Secure FTP Factory

com.jscape.inet.file
Interface JFileSystem


public interface JFileSystem

JFile system abstraction. Takes responsibility for corresponded JFile objects creation.

Version:
1.0
Author:
Alex Usun

Method Summary
 void close()
          Closes the file system object and releases all associated resources.
 JFile getFile(JFile parent, java.lang.String child)
          Creates a new JFile instance from a parent abstract pathname and a child pathname string.
 JFile getFile(java.lang.String pathname)
          Creates a new JFile instance by converting the given pathname string into an abstract pathname.
 boolean isClosed()
          Tests whether the current file system is already closed.
 

Method Detail

close

void close()
Closes the file system object and releases all associated resources.


isClosed

boolean isClosed()
Tests whether the current file system is already closed.

Returns:
true if the current file system is closed; false otherwise

getFile

JFile getFile(java.lang.String pathname)
Creates a new JFile instance by converting the given pathname string into an abstract pathname.

Parameters:
pathname - a pathname string
Returns:
a new JFile instance

getFile

JFile getFile(JFile parent,
              java.lang.String child)
Creates a new JFile instance from a parent abstract pathname and a child pathname string.

Parameters:
parent - the parent abstract pathname
child - the child pathname string
Returns:
a new JFile instance

Secure FTP Factory

Copyright © JSCAPE LLC. 1999-2014. All Rights Reserved