Package uk.co.caprica.vlcj.media
Enum ParseFlag
- java.lang.Object
-
- java.lang.Enum<ParseFlag>
-
- uk.co.caprica.vlcj.media.ParseFlag
-
- All Implemented Interfaces:
Serializable
,Comparable<ParseFlag>
public enum ParseFlag extends Enum<ParseFlag>
Parse flags used by libvlc_media_parse_with_options().
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DO_INTERACT
Interact with the user (via libvlc_dialog_cbs) when preparsing this item (and not its sub items).FETCH_LOCAL
Fetch meta and covert art using local resourcesFETCH_NETWORK
Fetch meta and covert art using network resourcesPARSE_LOCAL
Parse media if it's a local filePARSE_NETWORK
Parse media even if it's a network file
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
intValue()
static ParseFlag
parseFlag(int intValue)
static ParseFlag
valueOf(String name)
Returns the enum constant of this type with the specified name.static ParseFlag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARSE_LOCAL
public static final ParseFlag PARSE_LOCAL
Parse media if it's a local file
-
PARSE_NETWORK
public static final ParseFlag PARSE_NETWORK
Parse media even if it's a network file
-
FETCH_LOCAL
public static final ParseFlag FETCH_LOCAL
Fetch meta and covert art using local resources
-
FETCH_NETWORK
public static final ParseFlag FETCH_NETWORK
Fetch meta and covert art using network resources
-
DO_INTERACT
public static final ParseFlag DO_INTERACT
Interact with the user (via libvlc_dialog_cbs) when preparsing this item (and not its sub items). Set this flag in order to receive a callback when the input is asking for credentials.
-
-
Method Detail
-
values
public static ParseFlag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ParseFlag c : ParseFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParseFlag valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
parseFlag
public static ParseFlag parseFlag(int intValue)
-
intValue
public int intValue()
-
-