Stuart McCulloch | 5ec302d | 2008-12-04 07:58:07 +0000 | [diff] [blame] | 1 | /* Copyright 2006 aQute SARL |
2 | * Licensed under the Apache License, Version 2.0, see http://www.apache.org/licenses/LICENSE-2.0 */ | ||||
3 | package aQute.lib.osgi; | ||||
4 | |||||
5 | import java.io.*; | ||||
6 | |||||
7 | public interface Resource { | ||||
8 | InputStream openInputStream() throws IOException ; | ||||
9 | void write(OutputStream out) throws IOException; | ||||
10 | long lastModified(); | ||||
11 | void setExtra(String extra); | ||||
12 | String getExtra(); | ||||
13 | } |