Package org.apache.harmony.x.imageio.internal

Examples of org.apache.harmony.x.imageio.internal.OutputStreamWrapper


    private OutputStream wrapOutput(Object output) {
    if(output instanceof OutputStream) {
      return (OutputStream)output;
    } else if(output instanceof ImageOutputStream){
      return new OutputStreamWrapper((ImageOutputStream) output);
    } else {
      throw new UnsupportedOperationException(output.getClass().getName());
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.harmony.x.imageio.internal.OutputStreamWrapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.