Package javax.microedition.io.file

Examples of javax.microedition.io.file.FileConnection


 
    private String readHelpText(String filename)
    {
      try
      {
        FileConnection fc = (FileConnection) Connector.open( filename, Connector.READ);
        InputStream is = fc.openDataInputStream();
        StringBuffer sb = new StringBuffer();
        int chr;
        // Read until the end of the stream     
        while ((chr = is.read()) != -1)
            sb.append((char) chr);
View Full Code Here

TOP

Related Classes of javax.microedition.io.file.FileConnection

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.