public class UnmanagedFolder extends JSBaseScriptableObject implements IFolderObject
myLogger| Constructor and Description |
|---|
UnmanagedFolder() |
| Modifier and Type | Method and Description |
|---|---|
void |
jsConstructor(java.lang.String thePathName)
Construct a unmanaged folder reference to a folder that may or may not exist.
|
boolean |
jsFunction_create()
Creates this folder and all parent folders
|
FileAndFolderIterator |
jsFunction_getContents(int theDepth)
Gets all files and folders in the folder.
|
boolean |
jsGet_exists()
Tests whether the directory denoted by this abstract pathname exists.
|
java.lang.String |
jsGet_name()
Returns the name of the directory.
|
IFolderObject |
jsGet_parent()
Returns the parent directory.
|
java.lang.String |
jsGet_path()
Get the folder's absolute path.
|
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void jsConstructor(java.lang.String thePathName)
throws java.io.IOException
thePathName - the absolute or relative path to the folder.java.io.IOExceptionpublic java.lang.String jsGet_path()
jsGet_path in interface IFolderObjectpublic boolean jsGet_exists()
jsGet_exists in interface IFolderObjecttrue if the file or directory exists.public java.lang.String jsGet_name()
jsGet_name in interface IFolderObjectpublic IFolderObject jsGet_parent()
jsGet_parent in interface IFolderObjectIFileObject represents parent file or directory.public FileAndFolderIterator jsFunction_getContents(int theDepth)
theDepth - the depth of the recursion, if it is not specified or null then the method returns all files and folders at any depth.public boolean jsFunction_create()
true if and only if the directory was created, along with all necessary parent directories; false otherwiseCopyright © 2026 MediaBeacon, Inc. All Rights Reserved.