Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Location |
|
| 1.0;1 |
1 | package org.apache.maven.shared.io.location; | |
2 | ||
3 | import java.io.File; | |
4 | import java.io.IOException; | |
5 | import java.nio.ByteBuffer; | |
6 | ||
7 | public interface Location | |
8 | { | |
9 | ||
10 | File getFile() throws IOException; | |
11 | ||
12 | void open() throws IOException; | |
13 | ||
14 | void close(); | |
15 | ||
16 | int read( ByteBuffer buffer ) throws IOException; | |
17 | ||
18 | int read( byte[] buffer ) throws IOException; | |
19 | ||
20 | String getSpecification(); | |
21 | ||
22 | } |