Package com.jcraft.jorbis
Class Comment
java.lang.Object
com.jcraft.jorbis.Comment
public class Comment
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description int[]
comment_lengths
int
comments
byte[][]
user_comments
byte[]
vendor
-
Constructor Summary
Constructors Constructor Description Comment()
-
Method Summary
Modifier and Type Method Description void
add(java.lang.String comment)
void
add_tag(java.lang.String tag, java.lang.String contents)
java.lang.String
getComment(int i)
java.lang.String
getVendor()
int
header_out(Packet op)
void
init()
java.lang.String
query(java.lang.String tag)
java.lang.String
query(java.lang.String tag, int count)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
comment_lengths
public int[] comment_lengths -
comments
public int comments -
user_comments
public byte[][] user_comments -
vendor
public byte[] vendor
-
-
Constructor Details
-
Comment
public Comment()
-
-
Method Details
-
add
public void add(java.lang.String comment) -
add_tag
public void add_tag(java.lang.String tag, java.lang.String contents) -
getComment
public java.lang.String getComment(int i) -
getVendor
public java.lang.String getVendor() -
header_out
-
init
public void init() -
query
public java.lang.String query(java.lang.String tag) -
query
public java.lang.String query(java.lang.String tag, int count) -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-