jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/SharedInputStream.java
changeset 43852 93a527059d8a
parent 28326 2b9860c0d68a
equal deleted inserted replaced
43752:3c68ef249093 43852:93a527059d8a
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    71      */
    71      */
    72     public InputStream newStream(long start, long end);
    72     public InputStream newStream(long start, long end);
    73 
    73 
    74     /**
    74     /**
    75      * Writes the specified region to another {@link OutputStream}.
    75      * Writes the specified region to another {@link OutputStream}.
       
    76      * @param   start   the starting position
       
    77      * @param   end     the ending position + 1
       
    78      * @param   out     output stream
    76      */
    79      */
    77     public void writeTo(long start,long end, OutputStream out);
    80     public void writeTo(long start,long end, OutputStream out);
    78 }
    81 }