Package com.appliedolap.essbase.impl
Class EssFolderImpl
java.lang.Object
com.appliedolap.essbase.AbstractEssObject
com.appliedolap.essbase.impl.EssFileImpl
com.appliedolap.essbase.impl.EssFolderImpl
Represents a folder in the remote Essbase server pseudo-filesystem.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.appliedolap.essbase.EssObject
EssObject.Type -
Field Summary
Fields inherited from class com.appliedolap.essbase.impl.EssFileImpl
fullPathFields inherited from class com.appliedolap.essbase.AbstractEssObject
api -
Constructor Summary
ConstructorsConstructorDescriptionEssFolderImpl(ApiContext api, EssServer server, String name, String fullPath) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateSubFolder(String subFolderName) Creates a subfolder in this folder.getFiles()booleanisFile()Returns true if this is a file, not a folder.booleanisFolder()Checks if this file object represents a file or a folder.voiduploadFile(File file) Uploads a file to this folder.Methods inherited from class com.appliedolap.essbase.impl.EssFileImpl
copy, delete, download, downloadToFolder, extract, getFullPath, getName, getPath, getServer, getType, lcmImport, move, rename
-
Constructor Details
-
EssFolderImpl
-
-
Method Details
-
isFolder
public boolean isFolder()Description copied from interface:EssFileChecks if this file object represents a file or a folder. If this method returnstrue, then this class may be cast toEssFolderImpl, which is a subclass of this one. -
isFile
public boolean isFile()Description copied from interface:EssFileReturns true if this is a file, not a folder. -
createSubFolder
Description copied from interface:EssFolderCreates a subfolder in this folder.- Specified by:
createSubFolderin interfaceEssFolder- Parameters:
subFolderName- the name of the subfolder
-
uploadFile
Description copied from interface:EssFolderUploads a file to this folder.- Specified by:
uploadFilein interfaceEssFolder- Parameters:
file- the file
-
getFiles
-