< prev index next >

src/java.desktop/share/classes/javax/imageio/stream/ImageOutputStreamImpl.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 45,59 **** public ImageOutputStreamImpl() { } public abstract void write(int b) throws IOException; ! public void write(byte b[]) throws IOException { write(b, 0, b.length); } ! public abstract void write(byte b[], int off, int len) throws IOException; public void writeBoolean(boolean v) throws IOException { write(v ? 1 : 0); } --- 45,59 ---- public ImageOutputStreamImpl() { } public abstract void write(int b) throws IOException; ! public void write(byte[] b) throws IOException { write(b, 0, b.length); } ! public abstract void write(byte[] b, int off, int len) throws IOException; public void writeBoolean(boolean v) throws IOException { write(v ? 1 : 0); }
< prev index next >