Methods Summary |
---|
public void | _parseDetails(java.nio.ByteBuffer content)
parseVersionAndFlags(content);
language = IsoTypeReader.readIso639(content);
author = IsoTypeReader.readString(content);
|
public java.lang.String | getAuthor()Author information.
return author;
|
protected void | getContent(java.nio.ByteBuffer byteBuffer)
writeVersionAndFlags(byteBuffer);
IsoTypeWriter.writeIso639(byteBuffer, language);
byteBuffer.put(Utf8.convert(author));
byteBuffer.put((byte) 0);
|
protected long | getContentSize()
return 7 + Utf8.utf8StringLengthInBytes(author);
|
public java.lang.String | getLanguage()Declares the language code for the {@link #getAuthor()} return value. See ISO 639-2/T for the set of three
character codes.Each character is packed as the difference between its ASCII value and 0x60. The code is
confined to being three lower-case letters, so these values are strictly positive.
return language;
|
public void | setAuthor(java.lang.String author)
this.author = author;
|
public void | setLanguage(java.lang.String language)
this.language = language;
|
public java.lang.String | toString()
return "AuthorBox[language=" + getLanguage() + ";author=" + getAuthor() + "]";
|