Identifies a source for jar entries.
| 276 | * Identifies a source for jar entries. |
| 277 | */ |
| 278 | public interface Source { |
| 279 | |
| 280 | /** |
| 281 | * @return a name for this source. |
| 282 | */ |
| 283 | String name(); |
| 284 | |
| 285 | /** |
| 286 | * Identifies a member of this source. |
| 287 | * |
| 288 | * @param name The name of the source |
| 289 | * @return identity |
| 290 | */ |
| 291 | String identify(String name); |
| 292 | } |
| 293 | |
| 294 | private abstract static class FileSource implements Source { |
| 295 | protected final File source; |
no outgoing calls
no test coverage detected