Methods Summary |
---|
public byte[] | getCodecId()
return this.codecId.clone();
|
public java.lang.String | getCodecIdAsString()Returns the {@link #getCodecId()}, as a String, where each byte has been
converted to a char .
String result;
if (this.codecId == null) {
result = "Unknown";
} else {
result = new String(getCodecId());
}
return result;
|
public long | getPictureHeight()
return this.pictureHeight;
|
public long | getPictureWidth()
return this.pictureWidth;
|
public java.lang.String | prettyPrint(java.lang.String prefix)(overridden)
final StringBuilder result = new StringBuilder(super.prettyPrint(prefix));
result.insert(0, Utils.LINE_SEPARATOR + prefix + "|->VideoStream");
result.append(prefix).append("Video info:")
.append(Utils.LINE_SEPARATOR);
result.append(prefix).append(" |->Width : ").append(
getPictureWidth()).append(Utils.LINE_SEPARATOR);
result.append(prefix).append(" |->Heigth : ").append(
getPictureHeight()).append(Utils.LINE_SEPARATOR);
result.append(prefix).append(" |->Codec : ").append(
getCodecIdAsString()).append(Utils.LINE_SEPARATOR);
return result.toString();
|
public void | setCodecId(byte[] codecIdentifier)
this.codecId = codecIdentifier.clone();
|
public void | setPictureHeight(long picHeight)
this.pictureHeight = picHeight;
|
public void | setPictureWidth(long picWidth)
this.pictureWidth = picWidth;
|