public interface SharedItem
| Modifier and Type | Method and Description |
|---|---|
com.hierynomus.msdtyp.FileTime |
getChangeTime()
Get the change time of the shared item.
|
com.hierynomus.msdtyp.FileTime |
getCreationTime()
Get the creation time of the shared item.
|
com.hierynomus.msdtyp.FileTime |
getLastAccessTime()
Get the last access time of the shared item.
|
com.hierynomus.msdtyp.FileTime |
getLastWriteTime()
Get the last write time of the shared item.
|
String |
getName()
Get the name of the shared item.
|
SharedItem |
getParentPath()
Get the parent shared item.
|
String |
getPath()
Get the path of the shared item.
|
SharedItem |
getRootPath()
Get the root shared item.
|
String |
getServerName()
Get the server name of the connected server.
|
String |
getShareName()
Get the share name of the connected server.
|
String |
getSmbPath()
Get the full SMB path including the server, share and path, separated by backslashes.
|
boolean |
isDirectory()
Check if the shared item is a directory.
|
boolean |
isExisting()
Check if the shared item does exist.
|
boolean |
isFile()
Check if the shared item is a file.
|
boolean |
isRootPath()
Check if the current shared item or its parent is the root shared item.
|
void |
renameTo(String newFileName,
boolean replaceIfExist)
Rename the current item.
|
boolean isExisting()
boolean isDirectory()
boolean isFile()
String getServerName()
String getShareName()
String getName()
String getPath()
String getSmbPath()
SharedItem getParentPath()
SharedItem getRootPath()
boolean isRootPath()
void renameTo(String newFileName, boolean replaceIfExist)
newFileName - New file namereplaceIfExist - Flag to replace an existing pathcom.hierynomus.msdtyp.FileTime getCreationTime()
com.hierynomus.msdtyp.FileTime getLastAccessTime()
com.hierynomus.msdtyp.FileTime getLastWriteTime()
com.hierynomus.msdtyp.FileTime getChangeTime()
Copyright © 2018. All rights reserved.