Code example for ReadableByteChannel

Methods: isOpen

0
        return lastRead = channel.read( dst );
    } 
 
    public boolean isOpen() 
    { 
        return channel.isOpen();
    } 
 
    public void close() throws IOException 
    { 
        channel.close();
    } 
 
    public int getLastRead() 
    { 
        return lastRead;
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java