public class JpegSegmentData
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
JpegSegmentData() |
Modifier and Type | Method and Description |
---|---|
void |
addSegment(byte segmentMarker,
byte[] segmentBytes) |
boolean |
containsSegment(byte segmentMarker) |
static JpegSegmentData |
FromFile(java.io.File file) |
byte[] |
getSegment(byte segmentMarker) |
byte[] |
getSegment(byte segmentMarker,
int occurrence) |
int |
getSegmentCount(byte segmentMarker) |
void |
removeSegment(byte segmentMarker) |
void |
removeSegmentOccurrence(byte segmentMarker,
int occurrence) |
static void |
ToFile(java.io.File file,
JpegSegmentData segmentData) |
public void addSegment(byte segmentMarker, byte[] segmentBytes)
public byte[] getSegment(byte segmentMarker)
public byte[] getSegment(byte segmentMarker, int occurrence)
public int getSegmentCount(byte segmentMarker)
public void removeSegmentOccurrence(byte segmentMarker, int occurrence)
public void removeSegment(byte segmentMarker)
public boolean containsSegment(byte segmentMarker)
public static void ToFile(java.io.File file, JpegSegmentData segmentData) throws java.io.IOException
java.io.IOException
public static JpegSegmentData FromFile(java.io.File file) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
Copyright © 2006 Drew Noakes. All Rights Reserved.