public class FileContent extends Object implements Content
| Constructor and Description |
|---|
FileContent(File file) |
FileContent(String prefix,
File file) |
| Modifier and Type | Method and Description |
|---|---|
List<ContainerEntry> |
getContainerEntries()
Build a container entry from a File, (can also be directory) to be present in
the container at prefix/name for a File, or prefix/relativePath for fies in a
dir.
|
File |
getFile() |
String |
getPrefix() |
public FileContent(File file)
public String getPrefix()
public File getFile()
public List<ContainerEntry> getContainerEntries()
getContainerEntries in interface ContentCopyright © 2020–2022 Red Hat. All rights reserved.