Package sun.net

Examples of sun.net.TelnetOutputStream


     * @return  the <code>OutputStream</code> to write the file to
     *
     */
    public TelnetOutputStream append(String filename) throws IOException {
        Socket s = openDataConnection("APPE " + filename);
        TelnetOutputStream out = new TelnetOutputStream(s.getOutputStream(), binaryMode);
        if (!binaryMode)
            out.setStickyCRLF(true);

        return out;
    }
View Full Code Here

TOP

Related Classes of sun.net.TelnetOutputStream

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.