examples.postcard
Class Postcard.PrivilegedImageDecoding
java.lang.Object
examples.postcard.Postcard.PrivilegedImageDecoding
- All Implemented Interfaces:
- PrivilegedAction
- Enclosing class:
- Postcard
- class Postcard.PrivilegedImageDecoding
- extends Object
- implements PrivilegedAction
This privileged action decodes an image from a byte array. Since
current Java implementation of ImageIO.read(...) usess a
temorary file for encoding this is a privileged action from an
agent's point of view.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
imageData_
byte[] imageData_
Postcard.PrivilegedImageDecoding
public Postcard.PrivilegedImageDecoding(byte[] imageData)
run
public Object run()
- Specified by:
run
in interface PrivilegedAction
Copyright © Fraunhofer Gesellschaft. All
Rights Reserved.