public interface RemoteDirectoryEntry extends Remote
RemoteDirectory
representing a file or sub-directory.RemoteDirectory
,
RemoteFile
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy this directory entry, deleting the file or sub-directory.
|
RemoteDirectory |
getContainingDirectory()
Gets the directory containing this directory entry.
|
Date |
getModificationDate() |
String |
getName() |
@Nonnull String getName() throws RemoteException
RemoteException
- If anything goes wrong with the communication.@Nonnull Date getModificationDate() throws RemoteException
RemoteException
- If anything goes wrong with the communication.@Nullable RemoteDirectory getContainingDirectory() throws RemoteException
RemoteException
- If anything goes wrong with the communication.void destroy() throws RemoteException, IOException
RemoteException
- If anything goes wrong with the communication.IOException
- If things go wrong when deleting the directory entry.Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.