|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Some information about a document. More...
#include "juce_AndroidDocument.h"
Classes | |
| class | Args |
Public Member Functions | |
| bool | exists () const |
| True if this file really exists. | |
| bool | isDirectory () const |
| True if this is a directory rather than a file. | |
| bool | isFile () const |
| True if this is a file rather than a directory. | |
| bool | canRead () const |
| True if this process has permission to read this file. | |
| bool | canWrite () const |
| True if this is a document that can be written, or a directory that can be modified. | |
| bool | canDelete () const |
| True if this document can be removed completely from the filesystem. | |
| bool | canCreateChildren () const |
| True if this is a directory and adding child documents is supported. | |
| bool | canRename () const |
| True if this document can be renamed. | |
| bool | canCopy () const |
| True if this document can be copied. | |
| bool | canMove () const |
| True if this document can be moved. | |
| bool | isVirtual () const |
| True if this document isn't a physical file on storage. | |
| String | getName () const |
| The user-facing name. | |
| String | getType () const |
| The MIME type of this document. | |
| int64 | getLastModified () const |
| Timestamp when a document was last modified, in milliseconds since January 1, 1970 00:00:00.0 UTC. | |
| bool | isLastModifiedValid () const |
| True if the filesystem provided a modification time. | |
| int64 | getSizeInBytes () const |
| The size of the document in bytes, if known. | |
| bool | isSizeInBytesValid () const |
| True if the filesystem provided a size in bytes. | |
Some information about a document.
Each instance represents some information about the document at the point when the instance was created.
Instance information is not updated automatically. If you think some file information may have changed, create a new instance.
@tags{Core}
Definition at line 38 of file juce_AndroidDocument.h.
| bool juce::AndroidDocumentInfo::canCopy | ( | ) | const |
True if this document can be copied.
Definition at line 83 of file juce_AndroidDocument.h.
| bool juce::AndroidDocumentInfo::canCreateChildren | ( | ) | const |
True if this is a directory and adding child documents is supported.
Definition at line 77 of file juce_AndroidDocument.h.
| bool juce::AndroidDocumentInfo::canDelete | ( | ) | const |
True if this document can be removed completely from the filesystem.
Definition at line 74 of file juce_AndroidDocument.h.
| bool juce::AndroidDocumentInfo::canMove | ( | ) | const |
True if this document can be moved.
Definition at line 86 of file juce_AndroidDocument.h.
| bool juce::AndroidDocumentInfo::canRead | ( | ) | const |
True if this process has permission to read this file.
If this returns true, and the AndroidDocument refers to a file rather than a directory, then AndroidDocument::createInputStream should work on this document.
Definition at line 57 of file juce_AndroidDocument.h.
| bool juce::AndroidDocumentInfo::canRename | ( | ) | const |
True if this document can be renamed.
Definition at line 80 of file juce_AndroidDocument.h.
| bool juce::AndroidDocumentInfo::canWrite | ( | ) | const |
True if this is a document that can be written, or a directory that can be modified.
If this returns true, and the AndroidDocument refers to a file rather than a directory, then AndroidDocument::createOutputStream should work on this document.
Definition at line 64 of file juce_AndroidDocument.h.
| bool juce::AndroidDocumentInfo::exists | ( | ) | const |
True if this file really exists.
Definition at line 44 of file juce_AndroidDocument.h.
| int64 juce::AndroidDocumentInfo::getLastModified | ( | ) | const |
Timestamp when a document was last modified, in milliseconds since January 1, 1970 00:00:00.0 UTC.
Use isLastModifiedValid() to determine whether or not the result of this function is valid.
Definition at line 106 of file juce_AndroidDocument.h.
| String juce::AndroidDocumentInfo::getName | ( | ) | const |
The user-facing name.
This may or may not contain a file extension. For files identified by a URL, the MIME type is stored separately.
Definition at line 96 of file juce_AndroidDocument.h.
| int64 juce::AndroidDocumentInfo::getSizeInBytes | ( | ) | const |
The size of the document in bytes, if known.
Use isSizeInBytesValid() to determine whether or not the result of this function is valid.
Definition at line 116 of file juce_AndroidDocument.h.
| String juce::AndroidDocumentInfo::getType | ( | ) | const |
The MIME type of this document.
Definition at line 99 of file juce_AndroidDocument.h.
| bool juce::AndroidDocumentInfo::isDirectory | ( | ) | const |
True if this is a directory rather than a file.
Definition at line 305 of file juce_AndroidDocument_android.cpp.
| bool juce::AndroidDocumentInfo::isFile | ( | ) | const |
True if this is a file rather than a directory.
Definition at line 50 of file juce_AndroidDocument.h.
| bool juce::AndroidDocumentInfo::isLastModifiedValid | ( | ) | const |
True if the filesystem provided a modification time.
Definition at line 109 of file juce_AndroidDocument.h.
| bool juce::AndroidDocumentInfo::isSizeInBytesValid | ( | ) | const |
True if the filesystem provided a size in bytes.
Definition at line 119 of file juce_AndroidDocument.h.
| bool juce::AndroidDocumentInfo::isVirtual | ( | ) | const |
True if this document isn't a physical file on storage.
Definition at line 89 of file juce_AndroidDocument.h.