13
|
1 /*******************************************************************************
|
|
2 * Copyright (c) 2000, 2003 IBM Corporation and others.
|
|
3 * All rights reserved. This program and the accompanying materials
|
|
4 * are made available under the terms of the Eclipse Public License v1.0
|
|
5 * which accompanies this distribution, and is available at
|
|
6 * http://www.eclipse.org/legal/epl-v10.html
|
|
7 *
|
|
8 * Contributors:
|
|
9 * IBM Corporation - initial API and implementation
|
|
10 *******************************************************************************/
|
|
11 module dwt.internal.image.JPEGComment;
|
|
12
|
|
13 import dwt.internal.image.JPEGVariableSizeSegment;
|
|
14 import dwt.internal.image.JPEGFileFormat;
|
|
15 import dwt.internal.image.LEDataInputStream;
|
|
16
|
|
17 final class JPEGComment : JPEGVariableSizeSegment {
|
|
18
|
|
19 public this(byte[] reference) {
|
|
20 super(reference);
|
|
21 }
|
|
22
|
|
23 public this(LEDataInputStream byteStream) {
|
|
24 super(byteStream);
|
|
25 }
|
|
26
|
|
27 public int signature() {
|
|
28 return JPEGFileFormat.COM;
|
|
29 }
|
|
30 }
|