org.fourthline.cling.support.model.dlna
Class DLNAFlagsAttribute
java.lang.Object
org.fourthline.cling.support.model.dlna.DLNAAttribute<EnumSet<DLNAFlags>>
org.fourthline.cling.support.model.dlna.DLNAFlagsAttribute
public class DLNAFlagsAttribute
- extends DLNAAttribute<EnumSet<DLNAFlags>>
- Author:
- Mario Franco
DLNAFlagsAttribute
public DLNAFlagsAttribute()
DLNAFlagsAttribute
public DLNAFlagsAttribute(DLNAFlags... flags)
setString
public void setString(String s,
String cf)
throws InvalidDLNAProtocolAttributeException
- Specified by:
setString
in class DLNAAttribute<EnumSet<DLNAFlags>>
- Parameters:
s
- This attribute's value as a string representation.cf
- This attribute's mime type as a string representation, optional.
- Throws:
InvalidDLNAProtocolAttributeException
- If the value is invalid for this DLNA attribute.
getString
public String getString()
- Specified by:
getString
in class DLNAAttribute<EnumSet<DLNAFlags>>
- Returns:
- A string representing this attribute's value.
Copyright © 2013 4th Line GmbH, Switzerland. All Rights Reserved.