Package org.apache.juneau.utils
Class ManifestFile
java.lang.Object
java.util.AbstractMap<K,V>
 
java.util.HashMap<K,V>
 
java.util.LinkedHashMap<String,Object>
 
org.apache.juneau.collections.JsonMap
org.apache.juneau.utils.ManifestFile
- All Implemented Interfaces:
- Serializable,- Cloneable,- Map<String,- Object> 
- 
Nested Class SummaryNested classes/interfaces inherited from class java.util.AbstractMapAbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> 
- 
Field Summary
- 
Constructor SummaryConstructorsConstructorDescriptionManifestFile(File f) Create an instance of this class from a manifest file on the file system.Create an instance of this class loaded from the contents of an input stream.Create an instance of this class loaded from the contents of a reader.ManifestFile(Class<?> c) Finds and loads the manifest file of the jar file that the specified class is contained within.ManifestFile(Path path) Create an instance of this class from a manifest path on the file system.Create an instance of this class from aManifestobject.
- 
Method SummaryMethods inherited from class org.apache.juneau.collections.JsonMapappend, append, appendFirst, appendIf, appendIf, appendIfAbsent, appendIfAbsentIf, asJson, asReadableString, asString, asString, cast, cast, containsKey, containsKeyNotEmpty, containsOuterKey, create, deleteAt, entrySet, exclude, filtered, filtered, filteredMap, filteredMap, find, find, findBoolean, findInt, findKeyIgnoreCase, findList, findLong, findMap, findString, get, get, get, getAt, getAt, getBeanSession, getBoolean, getBoolean, getClassMeta, getFirstKey, getInt, getInt, getList, getList, getList, getList, getLong, getLong, getMap, getMap, getMap, getMap, getString, getString, getStringArray, getStringArray, getSwapped, getWithDefault, getWithDefault, getWithDefault, include, inner, isUnmodifiable, keepAll, keySet, modifiable, of, of, ofJson, ofJson, ofText, ofText, postAt, put, putAt, putJson, removeAll, removeAll, removeBoolean, removeBoolean, removeInt, removeInt, removeString, removeString, removeWithDefault, session, setBeanSession, unmodifiable, writeToMethods inherited from class java.util.LinkedHashMapclear, containsValue, forEach, getOrDefault, removeEldestEntry, replaceAll, valuesMethods inherited from class java.util.HashMapclone, compute, computeIfAbsent, computeIfPresent, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from class java.util.AbstractMapequals, hashCodeMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Mapcompute, computeIfAbsent, computeIfPresent, equals, hashCode, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, size
- 
Constructor Details- 
ManifestFileCreate an instance of this class from a manifest file on the file system.- Parameters:
- f- The manifest file.
- Throws:
- IOException- If a problem occurred while trying to read the manifest file.
 
- 
ManifestFileCreate an instance of this class from a manifest path on the file system.- Parameters:
- path- The manifest path.
- Throws:
- IOException- If a problem occurred while trying to read the manifest path.
 
- 
ManifestFileCreate an instance of this class from aManifestobject.- Parameters:
- f- The manifest to read from.
 
- 
ManifestFileFinds and loads the manifest file of the jar file that the specified class is contained within.- Parameters:
- c- The class to get the manifest file of.
- Throws:
- IOException- If a problem occurred while trying to read the manifest file.
 
- 
ManifestFileCreate an instance of this class loaded from the contents of a reader.Note that the input must end in a newline to pick up the last line! - Parameters:
- r- The manifest file contents.
- Throws:
- IOException- If a problem occurred while trying to read the manifest file.
 
- 
ManifestFileCreate an instance of this class loaded from the contents of an input stream.Note that the input must end in a newline to pick up the last line! - Parameters:
- is- The manifest file contents.
- Throws:
- IOException- If a problem occurred while trying to read the manifest file.
 
 
- 
- 
Method Details