同步操作将从 Stefan/Java8Source 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/** Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.*********************/package javax.tools;import java.io.IOException;import java.io.InputStream;import java.io.OutputStream;import java.io.Reader;import java.io.Writer;import java.net.URI;/*** Forwards calls to a given file object. Subclasses of this class* might override some of these methods and might also provide* additional fields and methods.** @param <F> the kind of file object forwarded to by this object* @author Peter von der Ahé* @since 1.6*/public class ForwardingFileObject<F extends FileObject> implements FileObject {/*** The file object which all methods are delegated to.*/protected final F fileObject;/*** Creates a new instance of ForwardingFileObject.* @param fileObject delegate to this file object*/protected ForwardingFileObject(F fileObject) {fileObject.getClass(); // null checkthis.fileObject = fileObject;}public URI toUri() {return fileObject.toUri();}public String getName() {return fileObject.getName();}/*** @throws IllegalStateException {@inheritDoc}* @throws UnsupportedOperationException {@inheritDoc}* @throws IOException {@inheritDoc}*/public InputStream openInputStream() throws IOException {return fileObject.openInputStream();}/*** @throws IllegalStateException {@inheritDoc}* @throws UnsupportedOperationException {@inheritDoc}* @throws IOException {@inheritDoc}*/public OutputStream openOutputStream() throws IOException {return fileObject.openOutputStream();}/*** @throws IllegalStateException {@inheritDoc}* @throws UnsupportedOperationException {@inheritDoc}* @throws IOException {@inheritDoc}*/public Reader openReader(boolean ignoreEncodingErrors) throws IOException {return fileObject.openReader(ignoreEncodingErrors);}/*** @throws IllegalStateException {@inheritDoc}* @throws UnsupportedOperationException {@inheritDoc}* @throws IOException {@inheritDoc}*/public CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException {return fileObject.getCharContent(ignoreEncodingErrors);}/*** @throws IllegalStateException {@inheritDoc}* @throws UnsupportedOperationException {@inheritDoc}* @throws IOException {@inheritDoc}*/public Writer openWriter() throws IOException {return fileObject.openWriter();}public long getLastModified() {return fileObject.getLastModified();}public boolean delete() {return fileObject.delete();}}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。