public final class TurnKeyMetadata extends Object
| Modifier and Type | Field and Description |
|---|---|
Set<String> |
bundledLibraries
The set of bundled library files, read-only.
|
List<String> |
loadCommands
The platform-specific list of load commands to successfully load the library, in load order,
read-only.
|
Set<String> |
systemLibraries
The set of referenced system library names (i.e., non-bundled dependencies), read-only.
|
| Constructor and Description |
|---|
TurnKeyMetadata(Set<String> bundledLibraries,
Set<String> systemLibraries,
List<String> loadCommands)
Create a new metadata bundle with the given contents.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static TurnKeyMetadata |
loadFrom(InputStream inputStream)
Load a metadata bundle from a given stream source.
|
String |
toString() |
void |
writeTo(OutputStream outputStream)
Write this metadata bundle to the given stream.
|
public final Set<String> bundledLibraries
public final Set<String> systemLibraries
public TurnKeyMetadata(Set<String> bundledLibraries, Set<String> systemLibraries, List<String> loadCommands)
bundledLibraries - the new bundledLibraries, not copied.systemLibraries - the new systemLibraries, not copied.loadCommands - the new loadCommands, not copied.public static TurnKeyMetadata loadFrom(InputStream inputStream) throws IOException
inputStream - the stream to read from.IOException - if reading failed.public void writeTo(OutputStream outputStream) throws IOException
outputStream - the stream to write to.IOException - if writing fails.