163 |
163 |
164 public void close() throws IOException { |
164 public void close() throws IOException { |
165 fileManager.close(); |
165 fileManager.close(); |
166 } |
166 } |
167 |
167 |
|
168 /** |
|
169 * @since 9 |
|
170 * @spec JPMS |
|
171 */ |
168 public Location getLocationForModule(Location location, String moduleName) throws IOException { |
172 public Location getLocationForModule(Location location, String moduleName) throws IOException { |
169 return fileManager.getLocationForModule(location, moduleName); |
173 return fileManager.getLocationForModule(location, moduleName); |
170 } |
174 } |
171 |
175 |
|
176 /** |
|
177 * @since 9 |
|
178 * @spec JPMS |
|
179 */ |
172 public Location getLocationForModule(Location location, JavaFileObject fo, String pkgName) throws IOException { |
180 public Location getLocationForModule(Location location, JavaFileObject fo, String pkgName) throws IOException { |
173 return fileManager.getLocationForModule(location, fo, pkgName); |
181 return fileManager.getLocationForModule(location, fo, pkgName); |
174 } |
182 } |
175 |
183 |
|
184 /** |
|
185 * @since 9 |
|
186 * @spec JPMS |
|
187 */ |
176 public <S> ServiceLoader<S> getServiceLoader(Location location, Class<S> service) throws IOException { |
188 public <S> ServiceLoader<S> getServiceLoader(Location location, Class<S> service) throws IOException { |
177 return fileManager.getServiceLoader(location, service); |
189 return fileManager.getServiceLoader(location, service); |
178 } |
190 } |
179 |
191 |
|
192 /** |
|
193 * @since 9 |
|
194 * @spec JPMS |
|
195 */ |
180 public String inferModuleName(Location location) throws IOException { |
196 public String inferModuleName(Location location) throws IOException { |
181 return fileManager.inferModuleName(location); |
197 return fileManager.inferModuleName(location); |
182 } |
198 } |
183 |
199 |
|
200 /** |
|
201 * @since 9 |
|
202 * @spec JPMS |
|
203 */ |
184 public Iterable<Set<Location>> listLocationsForModules(Location location) throws IOException { |
204 public Iterable<Set<Location>> listLocationsForModules(Location location) throws IOException { |
185 return fileManager.listLocationsForModules(location); |
205 return fileManager.listLocationsForModules(location); |
186 } |
206 } |
187 } |
207 } |