Пример #1
0
 @Override
 public String toString() {
   final StringBuffer b = new StringBuffer();
   b.append("GIF video format:");
   if (FormatUtils.specified(size)) b.append(" size = " + size.width + "x" + size.height);
   if (FormatUtils.specified(frameRate)) b.append(" FrameRate = " + frameRate);
   if (FormatUtils.specified(maxDataLength)) b.append(" maxDataLength = " + maxDataLength);
   if (FormatUtils.specified(dataType)) b.append(" dataType = " + dataType);
   return b.toString();
 }
Пример #2
0
 @Override
 public Object clone() {
   return new GIFFormat(FormatUtils.clone(size), maxDataLength, dataType, frameRate);
 }