TOFNTextInformationID3V2Framepublic class TOFNTextInformationID3V2Frame extends TextInformationID3V2Frame
Fields Summary |
---|
private String | m_sOriginalFilename |
Constructors Summary |
---|
public TOFNTextInformationID3V2Frame(String sOriginalFilename)Constructor.
super(sOriginalFilename);
m_sOriginalFilename = sOriginalFilename;
| public TOFNTextInformationID3V2Frame(InputStream oIS)
super(oIS);
m_sOriginalFilename = m_sInformation;
|
Methods Summary |
---|
public void | accept(ID3Visitor oID3Visitor)
oID3Visitor.visitTOFNTextInformationID3V2Frame(this);
| public boolean | equals(java.lang.Object oOther)
if ((oOther == null) || (!(oOther instanceof TOFNTextInformationID3V2Frame)))
{
return false;
}
TOFNTextInformationID3V2Frame oOtherTOFN = (TOFNTextInformationID3V2Frame)oOther;
return (m_sOriginalFilename.equals(oOtherTOFN.m_sOriginalFilename) &&
m_oTextEncoding.equals(oOtherTOFN.m_oTextEncoding) &&
m_sInformation.equals(oOtherTOFN.m_sInformation));
| protected byte[] | getFrameId()
return "TOFN".getBytes();
| public java.lang.String | getOriginalFilename()Get the original, or preferred, filename for this tagged file.
return m_sOriginalFilename;
| public void | setOriginalFilename(java.lang.String sOriginalFilename)Set the original, or preferred, filename for the tagged file.
m_sOriginalFilename = sOriginalFilename;
m_oTextEncoding = TextEncoding.getDefaultTextEncoding();
m_sInformation = sOriginalFilename;
| public java.lang.String | toString()
return "Original filename: [" + m_sInformation + "]";
|
|