public class ArtifactStoreFileSystem extends BaseFileSystem
FileSystem that delegates to a ArtifactStore.for the oposite.,
Serialized Form| Constructor and Description |
|---|
ArtifactStoreFileSystem(ArtifactStore store)
Creates a
FileSystem backed by an ArtifactStore. |
| Modifier and Type | Method and Description |
|---|---|
protected Entry |
get(DirectoryEntry parent,
String name) |
long |
getLastModified(DirectoryEntry entry) |
Entry[] |
listEntries(DirectoryEntry directory) |
FileEntry |
put(DirectoryEntry parent,
String name,
InputStream content) |
public ArtifactStoreFileSystem(ArtifactStore store)
FileSystem backed by an ArtifactStore.store - the backing artifact store.public Entry[] listEntries(DirectoryEntry directory)
protected Entry get(DirectoryEntry parent, String name)
get in class BaseFileSystempublic long getLastModified(DirectoryEntry entry) throws IOException
IOExceptionpublic FileEntry put(DirectoryEntry parent, String name, InputStream content) throws IOException
put in interface FileSystemput in class BaseFileSystemIOExceptionCopyright © 2009–2022 MojoHaus. All rights reserved.