|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xfile.XFileExtensionAccessor
public abstract class XFileExtensionAccessor
This is an abstract class to intended to be extended with filesystem-specific methods.
An XFileExtensionAccessor class must be associated with an XFileAccessor. An XFileExtensionAccessor can be used to provide access to filesystem-specific methods that are not defined within the XFileAccessor interface. A subclass of XFileExtensionAccessor must be declared as:
import com.sun.xfile.*;
public class XFileExtensionAccessor extends com.sun.xfile.XFileExtensionAccessor {
:
An XFileExtensionAccessor class is loaded when the
XFile.getExtensionAccessor()
method is invoked. The
class loading process is identical to that of an
XFileAccessor except for the final component of the package
name: "XFileExtensionAccessor" instead of "XFileAccessor".
An application that needs to use the methods within the XFileExtensionAccessor must cast the result of XFile.getExtensionAccessor.
import com.sun.xfile.*;
XFile xf = new XFile("ftp://server/path");
com.acme.ftp.XFileExtensionAccessor xftp =
(com.acme.ftp.XFileExtensionAccessor) xf.getExtensionAccessor();
xftp.login();
:
XFile.getExtensionAccessor()
,
XFileAccessor
Constructor Summary | |
---|---|
XFileExtensionAccessor(XFile xf)
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XFileExtensionAccessor(XFile xf)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |