|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.muni.pdfjbim.Jbig2ForPdf
public class Jbig2ForPdf
class representing list of images compressed according to JBIG2 standard in format suitable for pdf and byte array of global Data
| Constructor Summary | |
|---|---|
Jbig2ForPdf(String pathToDir,
String basename)
constructor that reads jbig2 images and global data and saves them in array of bytes |
|
| Method Summary | |
|---|---|
void |
addJbig2Image(int key,
PdfImage jbImage)
add pdf image |
byte[] |
getGlobalData()
|
List<File> |
getJbFiles()
|
PdfImage |
getJbig2Image(int index)
|
Map<PdfObjId,PdfImage> |
getMapOfJbig2Images()
|
SortedMap<Integer,PdfImage> |
getSortedMapOfJbig2Images()
|
void |
setGlobalData(byte[] globalData)
sets global data of image |
void |
setJbig2ImageInfo(int i,
PdfImageInformation pdfImageInformation)
sets information to concrete image in the list |
void |
setJbig2Images(SortedMap<Integer,PdfImage> jbig2Images)
sets atribut jbig2Images |
void |
setJbig2ImagesInfo(List<PdfImageInformation> pdfImageInformations)
Sets informations about pdf image given in List. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Jbig2ForPdf(String pathToDir,
String basename)
throws PdfRecompressionException
pathToDir - represents path to directory containing images data and global databasename -
PdfRecompressionException| Method Detail |
|---|
public void addJbig2Image(int key,
PdfImage jbImage)
key - jbImage - represents image encoding according to JBIG2 standard
public void setJbig2ImageInfo(int i,
PdfImageInformation pdfImageInformation)
i - represents position of the image in the listpdfImageInformation - represents information about that image
public void setJbig2ImagesInfo(List<PdfImageInformation> pdfImageInformations)
throws PdfRecompressionException
pdfImageInformations - represents list of informations about pdf images
PdfRecompressionExceptionpublic void setGlobalData(byte[] globalData)
globalData - represents global datapublic void setJbig2Images(SortedMap<Integer,PdfImage> jbig2Images)
jbig2Images - represents list of pdf imagespublic byte[] getGlobalData()
public PdfImage getJbig2Image(int index)
index - represents position of image in the list
public SortedMap<Integer,PdfImage> getSortedMapOfJbig2Images()
public Map<PdfObjId,PdfImage> getMapOfJbig2Images()
public List<File> getJbFiles()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||