package mediabrowser.model.dlna;
public class ResponseProfile
{
//C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to .NET attributes:
//ORIGINAL LINE: [XmlAttribute("container")] public string Container {get;set;}
private String Container;
public final String getContainer()
{
return Container;
}
public final void setContainer(String value)
{
Container = value;
}
//C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to .NET attributes:
//ORIGINAL LINE: [XmlAttribute("audioCodec")] public string AudioCodec {get;set;}
private String AudioCodec;
public final String getAudioCodec()
{
return AudioCodec;
}
public final void setAudioCodec(String value)
{
AudioCodec = value;
}
//C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to .NET attributes:
//ORIGINAL LINE: [XmlAttribute("videoCodec")] public string VideoCodec {get;set;}
private String VideoCodec;
public final String getVideoCodec()
{
return VideoCodec;
}
public final void setVideoCodec(String value)
{
VideoCodec = value;
}
//C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to .NET attributes:
//ORIGINAL LINE: [XmlAttribute("type")] public DlnaProfileType Type {get;set;}
private DlnaProfileType Type = DlnaProfileType.values()[0];
public final DlnaProfileType getType()
{
return Type;
}
public final void setType(DlnaProfileType value)
{
Type = value;
}
//C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to .NET attributes:
//ORIGINAL LINE: [XmlAttribute("orgPn")] public string OrgPn {get;set;}
private String OrgPn;
public final String getOrgPn()
{
return OrgPn;
}
public final void setOrgPn(String value)
{
OrgPn = value;
}
//C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to .NET attributes:
//ORIGINAL LINE: [XmlAttribute("mimeType")] public string MimeType {get;set;}
private String MimeType;
public final String getMimeType()
{
return MimeType;
}
public final void setMimeType(String value)
{
MimeType = value;
}
private ProfileCondition[] Conditions;
public final ProfileCondition[] getConditions()
{
return Conditions;
}
public final void setConditions(ProfileCondition[] value)
{
Conditions = value;
}
public ResponseProfile()
{
setConditions(new ProfileCondition[] {});
}
public final java.util.ArrayList<String> GetContainers()
{
java.util.ArrayList<String> list = new java.util.ArrayList<String>();
for (String i : ((getContainer() != null) ? getContainer() : "").split("[,]", -1))
{
if (!tangible.DotNetToJavaStringHelper.isNullOrEmpty(i))
{
list.add(i);
}
}
return list;
}
public final java.util.ArrayList<String> GetAudioCodecs()
{
java.util.ArrayList<String> list = new java.util.ArrayList<String>();
for (String i : ((getAudioCodec() != null) ? getAudioCodec() : "").split("[,]", -1))
{
if (!tangible.DotNetToJavaStringHelper.isNullOrEmpty(i))
{
list.add(i);
}
}
return list;
}
public final java.util.ArrayList<String> GetVideoCodecs()
{
java.util.ArrayList<String> list = new java.util.ArrayList<String>();
for (String i : ((getVideoCodec() != null) ? getVideoCodec() : "").split("[,]", -1))
{
if (!tangible.DotNetToJavaStringHelper.isNullOrEmpty(i))
{
list.add(i);
}
}
return list;
}
}