public class AssessmentToolFsVolumeFactory.AssessmentToolFsVolume extends ReadOnlyFsVolume implements ToolFsVolume
| Modifier and Type | Field and Description |
|---|---|
static String |
ASSESSMENT_URL_PREFIX |
| Constructor and Description |
|---|
AssessmentToolFsVolume(SakaiFsService service,
String siteId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(SakaiFsItem newFile) |
SakaiFsItem |
fromPath(String relativePath) |
String |
getDimensions(SakaiFsItem fsi) |
long |
getLastModified(SakaiFsItem fsi) |
String |
getMimeType(SakaiFsItem fsi) |
String |
getName() |
String |
getName(SakaiFsItem fsi) |
SakaiFsItem |
getParent(SakaiFsItem fsi) |
String |
getPath(SakaiFsItem fsi) |
SakaiFsItem |
getRoot() |
String |
getSiteId() |
long |
getSize(SakaiFsItem fsi) |
String |
getThumbnailFileName(SakaiFsItem fsi) |
ToolFsVolumeFactory |
getToolVolumeFactory() |
String |
getURL(SakaiFsItem fsi) |
boolean |
hasChildFolder(SakaiFsItem fsi) |
boolean |
isFolder(SakaiFsItem fsi) |
boolean |
isRoot(SakaiFsItem fsi) |
boolean |
isWriteable(SakaiFsItem item) |
SakaiFsItem[] |
listChildren(SakaiFsItem fsi) |
InputStream |
openInputStream(SakaiFsItem fsi) |
createFile, createFolder, deleteFile, deleteFolder, filterOptions, rename, writeStreamclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateFile, createFolder, deleteFile, deleteFolder, filterOptions, rename, writeStreampublic static final String ASSESSMENT_URL_PREFIX
public AssessmentToolFsVolume(SakaiFsService service, String siteId)
public String getSiteId()
getSiteId in interface ToolFsVolumepublic ToolFsVolumeFactory getToolVolumeFactory()
getToolVolumeFactory in interface ToolFsVolumepublic boolean isWriteable(SakaiFsItem item)
isWriteable in interface ToolFsVolumepublic boolean exists(SakaiFsItem newFile)
exists in interface SakaiFsVolumepublic SakaiFsItem fromPath(String relativePath)
fromPath in interface SakaiFsVolumepublic String getDimensions(SakaiFsItem fsi)
getDimensions in interface SakaiFsVolumepublic long getLastModified(SakaiFsItem fsi)
getLastModified in interface SakaiFsVolumepublic String getMimeType(SakaiFsItem fsi)
getMimeType in interface SakaiFsVolumepublic String getName()
getName in interface SakaiFsVolumepublic String getName(SakaiFsItem fsi)
getName in interface SakaiFsVolumepublic SakaiFsItem getParent(SakaiFsItem fsi)
getParent in interface SakaiFsVolumepublic String getPath(SakaiFsItem fsi) throws IOException
getPath in interface SakaiFsVolumeIOExceptionpublic SakaiFsItem getRoot()
getRoot in interface SakaiFsVolumepublic long getSize(SakaiFsItem fsi) throws IOException
getSize in interface SakaiFsVolumeIOExceptionpublic String getThumbnailFileName(SakaiFsItem fsi)
getThumbnailFileName in interface SakaiFsVolumepublic boolean hasChildFolder(SakaiFsItem fsi)
hasChildFolder in interface SakaiFsVolumepublic boolean isFolder(SakaiFsItem fsi)
isFolder in interface SakaiFsVolumepublic boolean isRoot(SakaiFsItem fsi)
isRoot in interface SakaiFsVolumepublic SakaiFsItem[] listChildren(SakaiFsItem fsi) throws PermissionException
listChildren in interface SakaiFsVolumePermissionExceptionpublic InputStream openInputStream(SakaiFsItem fsi) throws IOException
openInputStream in interface SakaiFsVolumeIOExceptionpublic String getURL(SakaiFsItem fsi)
getURL in interface SakaiFsVolumeCopyright © 2003–2021 Sakai Project. All rights reserved.