Package dev.snowdrop.buildpack.docker
Class FileContent
java.lang.Object
dev.snowdrop.buildpack.docker.FileContent
- All Implemented Interfaces:
Content
- Direct Known Subclasses:
EditableFileContent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBuild 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.getFile()
-
Constructor Details
-
FileContent
-
FileContent
-
-
Method Details
-
getPrefix
-
getFile
-
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. Eg, given /a/one/a /a/two/a, passing prefix of /stiletto with /a results in /stiletto/one/a and /stiletto/two/a being created.- Specified by:
getContainerEntriesin interfaceContent
-