Code example for JavaFileObject

Methods: getNameopenWriter

0
        public URI toUri() {
            return delegate.toUri();
        } 
 
        public String getName() {
            return delegate.getName();
        } 
 
        public InputStream openInputStream() throws IOException {
            checkRead(); 
            return delegate.openInputStream();
        } 
 
        public OutputStream openOutputStream() throws IOException {
            checkWrite(); 
            return delegate.openOutputStream();
        } 
 
        public Reader openReader(boolean ignoreEncodingErrors) throws IOException {
            checkRead(); 
            return delegate.openReader(ignoreEncodingErrors);
        } 
 
        public CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException {
            checkRead(); 
            return delegate.getCharContent(ignoreEncodingErrors);
        } 
 
        public Writer openWriter() throws IOException {
            checkWrite(); 
            return delegate.openWriter();
        } 
 
        public long getLastModified() { 
            return delegate.getLastModified();
        }