1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Returned public CodeReader( String filename, InputStream stream ) signature.

This commit is contained in:
John Camelon 2004-08-20 14:21:12 +00:00
parent d0d534d01f
commit f599a0998b

View file

@ -67,6 +67,12 @@ public class CodeReader {
stream.close(); stream.close();
} }
} }
public CodeReader( String filename, InputStream stream ) throws IOException
{
this( filename, SYSTEM_DEFAULT_ENCODING, stream );
}
public CodeReader( String fileName, String charSet, InputStream stream ) throws IOException { public CodeReader( String fileName, String charSet, InputStream stream ) throws IOException {
filename = fileName.toCharArray(); filename = fileName.toCharArray();