|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bbn.openmap.image.ImageMaster.ImageMasterHelper
public class ImageMaster.ImageMasterHelper
The ImageMasterHelper contains an ImageServer, and acts like the ImageReceiver to create the Image file when the bits are ready.
| Field Summary | |
|---|---|
boolean |
complete
|
java.lang.String |
errorLogFileName
|
ImageMaster |
iMaster
|
ImageServer |
iServer
|
java.lang.String |
outputFileName
|
java.lang.String |
outputLogFileName
|
Proj |
proj
|
int |
scaleToHeight
|
int |
scaleToWidth
|
| Constructor Summary | |
|---|---|
ImageMaster.ImageMasterHelper(java.lang.String prefix,
java.util.Properties props,
ImageMaster master)
|
|
| Method Summary | |
|---|---|
void |
create()
Start the ImageServer on it's creative journey. |
ProjectionFactory |
getProjectionFactory()
Override this method if you want to change the available projections from the defaults. |
void |
receiveImageData(byte[] imageBytes)
Receive the bytes from a image. |
void |
writeDataFile(java.lang.String fileName,
byte[] imageData)
Write the image to a file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ImageServer iServer
public java.lang.String outputFileName
public boolean complete
public ImageMaster iMaster
public Proj proj
public java.lang.String outputLogFileName
public java.lang.String errorLogFileName
public int scaleToWidth
public int scaleToHeight
| Constructor Detail |
|---|
public ImageMaster.ImageMasterHelper(java.lang.String prefix,
java.util.Properties props,
ImageMaster master)
| Method Detail |
|---|
public ProjectionFactory getProjectionFactory()
public void create()
public void receiveImageData(byte[] imageBytes)
receiveImageData in interface ImageReceiverimageBytes - the formatted image..
public void writeDataFile(java.lang.String fileName,
byte[] imageData)
fileName - the file name to write the image into.imageData - the image data to put in the file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||