| Package | Description |
|---|---|
| org.codehaus.mojo.mrm.api |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultDirectoryEntry
Default implementation of
DirectoryEntry. |
| Modifier and Type | Method and Description |
|---|---|
static DirectoryEntry |
DefaultDirectoryEntry.equivalent(FileSystem target,
DirectoryEntry directory)
Creates a
DefaultDirectoryEntry that is equivalent to the supplied DirectoryEntry only in
the specified target FileSystem. |
DirectoryEntry |
Entry.getParent()
Returns the parent of this entry (or
null if there is no parent, that is the root entry). |
DirectoryEntry |
AbstractEntry.getParent()
Returns the parent of this entry (or
null if there is no parent, that is the root entry). |
DirectoryEntry |
BaseFileSystem.getRoot()
Returns the root directory entry.
|
DirectoryEntry |
FileSystem.getRoot()
Returns the root directory entry.
|
DirectoryEntry |
BaseFileSystem.mkdir(DirectoryEntry parent,
String name)
Makes the specified child directory.
|
DirectoryEntry |
FileSystem.mkdir(DirectoryEntry parent,
String name)
Makes the specified child directory.
|
| Modifier and Type | Method and Description |
|---|---|
static DirectoryEntry |
DefaultDirectoryEntry.equivalent(FileSystem target,
DirectoryEntry directory)
Creates a
DefaultDirectoryEntry that is equivalent to the supplied DirectoryEntry only in
the specified target FileSystem. |
protected Entry |
BaseFileSystem.get(DirectoryEntry parent,
String name)
Gets the named entry in the specified directory.
|
long |
FileSystem.getLastModified(DirectoryEntry entry)
Returns the time that the specified directory entry was last modified.
|
Entry[] |
FileSystem.listEntries(DirectoryEntry directory)
Lists the entries in the specified directory.
|
DirectoryEntry |
BaseFileSystem.mkdir(DirectoryEntry parent,
String name)
Makes the specified child directory.
|
DirectoryEntry |
FileSystem.mkdir(DirectoryEntry parent,
String name)
Makes the specified child directory.
|
FileEntry |
BaseFileSystem.put(DirectoryEntry parent,
String name,
byte[] content)
Puts the specified content into a the specified directory.
|
FileEntry |
FileSystem.put(DirectoryEntry parent,
String name,
byte[] content)
Puts the specified content into a the specified directory.
|
FileEntry |
BaseFileSystem.put(DirectoryEntry parent,
String name,
InputStream content)
Puts the specified content into a the specified directory.
|
FileEntry |
FileSystem.put(DirectoryEntry parent,
String name,
InputStream content)
Puts the specified content into a the specified directory.
|
| Constructor and Description |
|---|
AbstractEntry(FileSystem fileSystem,
DirectoryEntry parent,
String name)
Creates an entry in the specified file system with the specified parent and name.
|
BaseFileEntry(FileSystem fileSystem,
DirectoryEntry parent,
String name)
Creates an entry in the specified file system with the specified parent and name.
|
DefaultDirectoryEntry(FileSystem fileSystem,
DirectoryEntry parent,
String name)
Creates an entry in the specified file system with the specified parent and name.
|
Copyright © 2009–2022 MojoHaus. All rights reserved.