public class AppleInfoPlistParsing extends Object
Modifier and Type | Method and Description |
---|---|
static Optional<String> |
getBundleIdFromPlistStream(Path plistPath,
InputStream inputStream)
Extracts the bundle ID (CFBundleIdentifier) from an Info.plist, returning it if present.
|
static Optional<String> |
getBundleTypeFromPlistStream(Path plistPath,
InputStream inputStream)
Extracts the bundle type (CFBundlePackageType) from an Info.plist, returning it if present.
|
static com.dd.plist.NSObject |
getPropertyValueFromPlistStream(Path plistPath,
InputStream inputStream,
String propertyKey)
Extracts a property value from an Info.plist, returning it if present.
|
static Optional<Boolean> |
isWatchOSAppFromPlistStream(Path plistPath,
InputStream inputStream)
Extracts the watchOS app flag (WKWatchKitApp) from an Info.plist, returning it if present.
|
public static Optional<String> getBundleIdFromPlistStream(Path plistPath, InputStream inputStream) throws IOException
IOException
public static Optional<String> getBundleTypeFromPlistStream(Path plistPath, InputStream inputStream) throws IOException
IOException
public static Optional<Boolean> isWatchOSAppFromPlistStream(Path plistPath, InputStream inputStream) throws IOException
IOException
public static com.dd.plist.NSObject getPropertyValueFromPlistStream(Path plistPath, InputStream inputStream, String propertyKey) throws IOException
IOException