Code example for Reader

Methods: close

0
    } 
 
    public static void close(Reader s) {
        if (s != null) {
            try { 
                s.close();
            } catch (IOException e) {
 
            } 
        } 
    } 
 
    public static void close(Writer s) {
        if (s != null) {
            try { 
                s.close();
            } catch (IOException e) {
 
            } 
        } 
    }