01: /*******************************************************************************
02: * Copyright (c) 2000, 2003 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.swt.internal.image;
11:
12: final class JPEGEndOfImage extends JPEGFixedSizeSegment {
13:
14: public JPEGEndOfImage() {
15: super ();
16: }
17:
18: public JPEGEndOfImage(byte[] reference) {
19: super (reference);
20: }
21:
22: public int signature() {
23: return JPEGFileFormat.EOI;
24: }
25:
26: public int fixedSize() {
27: return 2;
28: }
29: }
|