public class Packages
extends java.util.TreeMap<java.lang.String,java.io.File>
Modifier and Type | Field and Description |
---|---|
static java.util.List<java.lang.String> |
DEFAULT_BASE_PACKAGES |
static java.lang.String |
MDW_BASE |
Constructor and Description |
---|
Packages(java.io.File assetRoot) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.io.File> |
getAssetFiles(java.lang.String packageName) |
java.io.File |
getAssetRoot() |
java.util.List<java.io.File> |
getPackageDirs() |
java.util.List<java.lang.String> |
getPackageNames() |
boolean |
isAssetOutput(java.lang.String path)
Whether a (relative) file path is the result of asset compilation
(as determined based on asset package names).
|
static boolean |
isMdwPackage(java.lang.String packageName) |
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
public static final java.lang.String MDW_BASE
public static final java.util.List<java.lang.String> DEFAULT_BASE_PACKAGES
public Packages(java.io.File assetRoot) throws java.io.IOException
java.io.IOException
public static boolean isMdwPackage(java.lang.String packageName)
public java.io.File getAssetRoot()
public java.util.List<java.io.File> getPackageDirs()
public java.util.List<java.lang.String> getPackageNames()
public java.util.List<java.io.File> getAssetFiles(java.lang.String packageName) throws java.io.IOException
java.io.IOException
public boolean isAssetOutput(java.lang.String path)
Copyright © 2019 CenturyLink, Inc.