home *** CD-ROM | disk | FTP | other *** search
- package netscape.plugin.composer;
-
- import java.awt.image.ImageProducer;
- import java.io.IOException;
- import java.io.OutputStream;
- import java.util.Enumeration;
- import java.util.Vector;
-
- public class ImageEncoder {
- private static Vector encoders_ = new Vector();
-
- public String getName() {
- return this.getClass().getName();
- }
-
- public String getHint() {
- return this.getClass().getName();
- }
-
- public String getFileExtension() {
- return new String();
- }
-
- public void getFileType(byte[] var1) {
- var1[0] = 63;
- var1[1] = 63;
- var1[2] = 63;
- var1[3] = 63;
- }
-
- public boolean needsQuantizedSource() {
- return false;
- }
-
- public boolean encode(ImageProducer var1, OutputStream var2) throws IOException {
- return false;
- }
-
- public static void register(ImageEncoder var0) {
- encoders_.addElement(var0);
- }
-
- public static Enumeration encoders() {
- return encoders_.elements();
- }
- }
-