public class JsDirectoryEntry extends JsEntry implements DirectoryEntry
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN
Modifier | Constructor and Description |
---|---|
protected |
JsDirectoryEntry() |
Modifier and Type | Method and Description |
---|---|
JsDirectoryReader |
createReader()
Creates a new DirectoryReader to read entries from this Directory.
|
void |
getDirectory(String path)
Creates or looks up a directory.
|
void |
getDirectory(String path,
Object flags)
Creates or looks up a directory.
|
void |
getDirectory(String path,
Object flags,
EntryCallback successCallback)
Creates or looks up a directory.
|
void |
getDirectory(String path,
Object flags,
EntryCallback successCallback,
ErrorCallback errorCallback)
Creates or looks up a directory.
|
void |
getFile(String path)
Creates or looks up a file.
|
void |
getFile(String path,
Object flags)
Creates or looks up a file.
|
void |
getFile(String path,
Object flags,
EntryCallback successCallback)
Creates or looks up a file.
|
void |
getFile(String path,
Object flags,
EntryCallback successCallback,
ErrorCallback errorCallback)
Creates or looks up a file.
|
void |
removeRecursively(VoidCallback successCallback)
Deletes a directory and all of its contents, if any.
|
void |
removeRecursively(VoidCallback successCallback,
ErrorCallback errorCallback)
Deletes a directory and all of its contents, if any.
|
copyTo, copyTo, copyTo, copyTo, getFilesystem, getFullPath, getMetadata, getMetadata, getName, getParent, getParent, getParent, isDirectory, isFile, moveTo, moveTo, moveTo, moveTo, remove, remove, toURL
addEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copyTo, copyTo, copyTo, copyTo, getFilesystem, getFullPath, getMetadata, getMetadata, getName, getParent, getParent, getParent, isDirectory, isFile, moveTo, moveTo, moveTo, moveTo, remove, remove, toURL
intAt, length
numberAt
public final JsDirectoryReader createReader()
DirectoryEntry
Creates a new DirectoryReader to read entries from this Directory.
void getMetada ();
DirectoryReader
createReader
in interface DirectoryEntry
public final void getDirectory(String path)
DirectoryEntry
Creates or looks up a directory.
void vopyTo ( (in DOMString path, optional Flags options, optional EntryCallback successCallback, optional ErrorCallback errorCallback); );
void
getDirectory
in interface DirectoryEntry
public final void getDirectory(String path, Object flags)
DirectoryEntry
Creates or looks up a directory.
void vopyTo ( (in DOMString path, optional Flags options, optional EntryCallback successCallback, optional ErrorCallback errorCallback); );
void
getDirectory
in interface DirectoryEntry
public final void getDirectory(String path, Object flags, EntryCallback successCallback)
DirectoryEntry
Creates or looks up a directory.
void vopyTo ( (in DOMString path, optional Flags options, optional EntryCallback successCallback, optional ErrorCallback errorCallback); );
void
getDirectory
in interface DirectoryEntry
public final void getDirectory(String path, Object flags, EntryCallback successCallback, ErrorCallback errorCallback)
DirectoryEntry
Creates or looks up a directory.
void vopyTo ( (in DOMString path, optional Flags options, optional EntryCallback successCallback, optional ErrorCallback errorCallback); );
void
getDirectory
in interface DirectoryEntry
public final void getFile(String path)
DirectoryEntry
Creates or looks up a file.
void moveTo ( (in DOMString path, optional Flags options, optional EntryCallback successCallback, optional ErrorCallback errorCallback); );
void
getFile
in interface DirectoryEntry
public final void getFile(String path, Object flags)
DirectoryEntry
Creates or looks up a file.
void moveTo ( (in DOMString path, optional Flags options, optional EntryCallback successCallback, optional ErrorCallback errorCallback); );
void
getFile
in interface DirectoryEntry
public final void getFile(String path, Object flags, EntryCallback successCallback)
DirectoryEntry
Creates or looks up a file.
void moveTo ( (in DOMString path, optional Flags options, optional EntryCallback successCallback, optional ErrorCallback errorCallback); );
void
getFile
in interface DirectoryEntry
public final void getFile(String path, Object flags, EntryCallback successCallback, ErrorCallback errorCallback)
DirectoryEntry
Creates or looks up a file.
void moveTo ( (in DOMString path, optional Flags options, optional EntryCallback successCallback, optional ErrorCallback errorCallback); );
void
getFile
in interface DirectoryEntry
public final void removeRecursively(VoidCallback successCallback)
DirectoryEntry
Deletes a directory and all of its contents, if any. If you are deleting a directory that contains a file that cannot be removed, some of the contents of the directory might be deleted. You cannot delete the root directory of a file system.
DOMString toURL ( (in VoidCallback successCallback, optional ErrorCallback errorCallback); );
void
removeRecursively
in interface DirectoryEntry
public final void removeRecursively(VoidCallback successCallback, ErrorCallback errorCallback)
DirectoryEntry
Deletes a directory and all of its contents, if any. If you are deleting a directory that contains a file that cannot be removed, some of the contents of the directory might be deleted. You cannot delete the root directory of a file system.
DOMString toURL ( (in VoidCallback successCallback, optional ErrorCallback errorCallback); );
void
removeRecursively
in interface DirectoryEntry
Copyright © 2018. All rights reserved.