< prev index next >

src/java.compiler/share/classes/javax/tools/ForwardingJavaFileManager.java

Print this page




 148      * @throws IllegalArgumentException {@inheritDoc}
 149      * @throws IllegalStateException {@inheritDoc}
 150      */
 151     public FileObject getFileForOutput(Location location,
 152                                        String packageName,
 153                                        String relativeName,
 154                                        FileObject sibling)
 155         throws IOException
 156     {
 157         return fileManager.getFileForOutput(location, packageName, relativeName, sibling);
 158     }
 159 
 160     public void flush() throws IOException {
 161         fileManager.flush();
 162     }
 163 
 164     public void close() throws IOException {
 165         fileManager.close();
 166     }
 167 




 168     public Location getLocationForModule(Location location, String moduleName) throws IOException {
 169         return fileManager.getLocationForModule(location, moduleName);
 170     }
 171 




 172     public Location getLocationForModule(Location location, JavaFileObject fo, String pkgName) throws IOException {
 173         return fileManager.getLocationForModule(location, fo, pkgName);
 174     }
 175 




 176     public <S> ServiceLoader<S> getServiceLoader(Location location, Class<S> service) throws  IOException {
 177         return fileManager.getServiceLoader(location, service);
 178     }
 179 




 180     public String inferModuleName(Location location) throws IOException {
 181         return fileManager.inferModuleName(location);
 182     }
 183 




 184     public Iterable<Set<Location>> listLocationsForModules(Location location) throws IOException {
 185         return fileManager.listLocationsForModules(location);
 186     }
 187 }


 148      * @throws IllegalArgumentException {@inheritDoc}
 149      * @throws IllegalStateException {@inheritDoc}
 150      */
 151     public FileObject getFileForOutput(Location location,
 152                                        String packageName,
 153                                        String relativeName,
 154                                        FileObject sibling)
 155         throws IOException
 156     {
 157         return fileManager.getFileForOutput(location, packageName, relativeName, sibling);
 158     }
 159 
 160     public void flush() throws IOException {
 161         fileManager.flush();
 162     }
 163 
 164     public void close() throws IOException {
 165         fileManager.close();
 166     }
 167 
 168     /**
 169      * @since 9
 170      * @spec JPMS
 171      */
 172     public Location getLocationForModule(Location location, String moduleName) throws IOException {
 173         return fileManager.getLocationForModule(location, moduleName);
 174     }
 175 
 176     /**
 177      * @since 9
 178      * @spec JPMS
 179      */
 180     public Location getLocationForModule(Location location, JavaFileObject fo, String pkgName) throws IOException {
 181         return fileManager.getLocationForModule(location, fo, pkgName);
 182     }
 183 
 184     /**
 185      * @since 9
 186      * @spec JPMS
 187      */
 188     public <S> ServiceLoader<S> getServiceLoader(Location location, Class<S> service) throws  IOException {
 189         return fileManager.getServiceLoader(location, service);
 190     }
 191 
 192     /**
 193      * @since 9
 194      * @spec JPMS
 195      */
 196     public String inferModuleName(Location location) throws IOException {
 197         return fileManager.inferModuleName(location);
 198     }
 199 
 200     /**
 201      * @since 9
 202      * @spec JPMS
 203      */
 204     public Iterable<Set<Location>> listLocationsForModules(Location location) throws IOException {
 205         return fileManager.listLocationsForModules(location);
 206     }
 207 }
< prev index next >