1 | void delete(URI uri, Map<?, ?> options) throws IOException;↵ | | 1 | void delete(URI uri, Map<?, ?> options) throws IOException;↵
|
|
2 | /**↵ | | 2 | /**↵
|
3 | * Returns a map from String properties to their corresponding values representing a description the given URI's contents.↵ | | 3 | * Returns a map from String properties to their corresponding values representing a description the given URI's contents.↵
|
4 | * See the {@link ContentHandler#contentDescription(URI, InputStream, Map, Map) content handler} for more details.↵ | | 4 | * See the {@link ContentHandler#contentDescription(URI, InputStream, Map, Map) content handler} for more details.↵
|
5 | * @param uri the URI to consider.↵ | | 5 | * @param uri the URI to consider.↵
|
6 | * @param options options to influence how the content description is determined, or <code>null</code> if there are no options.↵ | | 6 | * @param options options to influence how the content description is determined, or <code>null</code> if there are no options.↵
|
7 | * @return a map from String properties to their corresponding values representing a description the given URI's contents.↵ | | 7 | * @return a map from String properties to their corresponding values representing a description the given URI's contents.↵
|
8 | * @throws IOException if there is a problem accessing the contents.↵ | | 8 | * @throws IOException if there is a problem accessing the contents.↵
|
| | | 9 | * @see URIConverter#contentDescription(URI, Map)↵
|
9 | * @see ContentHandler#contentDescription(URI, InputStream, Map, Map)↵ | | 10 | * @see ContentHandler#contentDescription(URI, InputStream, Map, Map)↵
|
10 | * @since 2.4↵ | | |
|
11 | */↵ | | 11 | */↵
|
12 | Map<String, ?> contentDescription(URI uri, Map<?, ?> options) throws IOException;↵ | | 12 | Map<String, ?> contentDescription(URI uri, Map<?, ?> options) throws IOException;↵
|
|
13 | /**↵ | | 13 | /**↵
|
14 | * Returns whether the given URI has contents.↵ | | 14 | * Returns whether the given URI has contents.↵
|
15 | * If the URI {@link #exists(URI, Map) exists}↵ | | 15 | * If the URI {@link #exists(URI, Map) exists}↵
|
16 | * it will be possible to {@link #createOutputStream(URI, Map) create} an input stream.↵ | | 16 | * it will be possible to {@link #createOutputStream(URI, Map) create} an input stream.↵
|
17 | * @param uri the URI to consider.↵ | | 17 | * @param uri the URI to consider.↵
|
18 | * @param options options to influence how the existence determined, or <code>null</code> if there are no options.↵ | | 18 | * @param options options to influence how the existence determined, or <code>null</code> if there are no options.↵
|
19 | * @return whether the given URI has contents.↵ | | 19 | * @return whether the given URI has contents.↵
|
20 | * @since 2.4↵ | | 20 | * @see URIConverter#exists(URI, Map)↵
|
21 | */↵ | | 21 | */↵
|
22 | boolean exists(URI uri, Map<?, ?> options); | | 22 | boolean exists(URI uri, Map<?, ?> options);
|