1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-30 19:53:30 +02:00

Returned previous constructor to CodeReader. (thanks Andrew)

This commit is contained in:
John Camelon 2004-08-20 13:48:53 +00:00
parent d242f51aa7
commit b2840b064a

View file

@ -67,6 +67,12 @@ public class CodeReader {
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 {
filename = fileName.toCharArray();