|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.File com.jbbres.lib.actions.files.ActionsCollectionFile
public class ActionsCollectionFile
Represents an Action(s) collection (.actc) file. This class is for internal use only.
Action(s) collection files contains one or multiple
Element
objects. Collection
files are basically Java JAR files with additional information in the
manifest file. These additional information are used iddentify the
Elements
within the file.
An instance of this class represents a collection file, but does not provide specific methods to interact with the file content. Collection files are internal to Action(s) and no API for accessing them is provided.
ActionsCollectionFile
extends java.io.File
and
inherits all its functionalities.
Field Summary | |
---|---|
static java.lang.String |
MIME_DESCRIPTION
The MIME type description |
static java.lang.String |
MIME_EXTENSION
Deprecated. since 1.0.1 - The MIME_EXTENSIONS variable now
contains all the accepted extensions for collection files. |
static java.lang.String |
MIME_EXTENSION_ACTC
The actc file extension. |
static java.lang.String |
MIME_EXTENSION_JAR
The jar file extension. |
static java.lang.String[] |
MIME_EXTENSIONS
List all the extensions that can contain a collection. |
static java.lang.String |
MIME_TYPE
The MIME type. |
Fields inherited from class java.io.File |
---|
pathSeparator, pathSeparatorChar, separator, separatorChar |
Constructor Summary | |
---|---|
ActionsCollectionFile(java.io.File file)
Creates a new ActionsCollectionFile instance by converting
the pathname string of the given file into an abstract pathname. |
|
ActionsCollectionFile(java.io.File parent,
java.lang.String child)
Creates a new ActionsCollectionFile instance from a parent
abstract pathname and a child pathname string. |
|
ActionsCollectionFile(java.lang.String pathname)
Creates a new ActionsCollectionFile instance by converting
the given pathname string into an abstract pathname. |
|
ActionsCollectionFile(java.lang.String parent,
java.lang.String child)
Creates a new ActionsCollectionFile instance from a parent
pathname string and a child pathname string. |
|
ActionsCollectionFile(java.net.URI uri)
Creates a new ActionsCollectionFile instance by converting
the given file: URI into an abstract pathname. |
Method Summary | |
---|---|
static com.jbbres.lib.file.MimeType |
getMimeType()
Returns the MimeType object associated to this type of file. |
Methods inherited from class java.io.File |
---|
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toString, toURI, toURL |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String MIME_DESCRIPTION
public static java.lang.String MIME_EXTENSION_ACTC
public static java.lang.String MIME_EXTENSION_JAR
public static java.lang.String[] MIME_EXTENSIONS
public static java.lang.String MIME_TYPE
@Deprecated public static java.lang.String MIME_EXTENSION
MIME_EXTENSIONS
variable now
contains all the accepted extensions for collection files.
Constructor Detail |
---|
public ActionsCollectionFile(java.io.File file)
ActionsCollectionFile
instance by converting
the pathname string of the given file into an abstract pathname. If the
given string is the empty string, then the result is the empty abstract
pathname.
file
- - a file.public ActionsCollectionFile(java.net.URI uri)
ActionsCollectionFile
instance by converting
the given file: URI into an abstract pathname. new File( f.toURI()).equals( f.getAbsoluteFile())
uri
- - - An absolute, hierarchical URI with a scheme equal to
"file", a non-empty path component, and undefined authority,
query, and fragment componentspublic ActionsCollectionFile(java.lang.String parent, java.lang.String child)
ActionsCollectionFile
instance from a parent
pathname string and a child pathname string.
parent
- - The parent pathname stringchild
- - The child pathname stringpublic ActionsCollectionFile(java.io.File parent, java.lang.String child)
ActionsCollectionFile
instance from a parent
abstract pathname and a child pathname string.
parent
- - The parent abstract pathnamechild
- - The child pathname stringpublic ActionsCollectionFile(java.lang.String pathname)
ActionsCollectionFile
instance by converting
the given pathname string into an abstract pathname. If the given string
is the empty string, then the result is the empty abstract pathname.
pathname
- - A pathname stringMethod Detail |
---|
public static com.jbbres.lib.file.MimeType getMimeType()
MimeType
object associated to this type of file.
MimeType
associated to this type of file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |