org.mule.transport.ftp.server
Class Named

java.lang.Object
  extended by org.mule.transport.ftp.server.Named
Direct Known Subclasses:
Directory, File

public abstract class Named
extends Object


Field Summary
protected  Log logger
           
 
Constructor Summary
Named(String name, ServerState state)
           
 
Method Summary
 InputStream createInputStream(long offset)
           
 OutputStream createOutputStream(long offset)
           
 boolean delete()
           
 boolean doesExist()
           
 String getFullName()
           
 String getGroupName()
           
 long getLastModified()
           
 int getLinkCount()
           
 String getOwnerName()
           
 String getShortName()
           
 long getSize()
           
protected  ServerState getState()
           
 boolean hasDeletePermission()
           
 boolean hasReadPermission()
           
 boolean hasWritePermission()
           
 boolean isDirectory()
           
 boolean isHidden()
           
 boolean mkdir()
           
 boolean move(FileObject destination)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final Log logger
Constructor Detail

Named

public Named(String name,
             ServerState state)
Method Detail

getFullName

public String getFullName()

getShortName

public String getShortName()

isHidden

public boolean isHidden()

isDirectory

public boolean isDirectory()

doesExist

public boolean doesExist()

hasReadPermission

public boolean hasReadPermission()

hasWritePermission

public boolean hasWritePermission()

hasDeletePermission

public boolean hasDeletePermission()

getOwnerName

public String getOwnerName()

getGroupName

public String getGroupName()

getLinkCount

public int getLinkCount()

getLastModified

public long getLastModified()

getSize

public long getSize()

mkdir

public boolean mkdir()

delete

public boolean delete()

move

public boolean move(FileObject destination)

getState

protected ServerState getState()

createOutputStream

public OutputStream createOutputStream(long offset)
                                throws IOException
Throws:
IOException

createInputStream

public InputStream createInputStream(long offset)
                              throws IOException
Throws:
IOException


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.