Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
24 | 2 | 0 | 1.000 | interface_member_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 24 | 574 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/resource/URIConverter.java |
2 | 24 | 98 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/resource/URIHandler.java |
| |||||
/** * Deletes the contents of the given URI. * @param uri the URI to consider. * @param options options to influence how the contents are deleted, or <code>null</code> if there are no options. * @throws IOException if there is a problem deleting the contents. * @since 2.4 */ void delete(URI uri, Map<? , ? > options) throws IOException; /** * Returns a map from String properties to their corresponding values representing a description the given URI's contents. * See the {@link ContentHandler#contentDescription(URI, InputStream, Map, Map) content handler} for more details. * @param uri the URI to consider. * @param options options to influence how the content description is determined, or <code>null</code> if there are no options. * @return a map from String properties to their corresponding values representing a description the given URI's contents. * @throws IOException if there is a problem accessing the contents. * @see ContentHandler#contentDescription(URI, InputStream, Map, Map) * @since 2.4 */ Map<String, ? > contentDescription(URI uri, Map<? , ? > options) throws IOException; /** * Returns whether the given URI has contents. * If the URI {@link #exists(URI, Map) exists} * it will be possible to {@link #createOutputStream(URI, Map) create} an input stream. * @param uri the URI to consider. * @param options options to influence how the existence determined, or <code>null</code> if there are no options. * @return whether the given URI has contents. * @since 2.4 */ boolean exists(URI uri, Map<? , ? > options); |
| |||||
/** * Deletes the contents of the given URI. * @param uri the URI to consider. * @param options options to influence how the contents are deleted, or <code>null</code> if there are no options. * @throws IOException if there is a problem deleting the contents. * @see URIConverter#delete(URI, Map) */ void delete(URI uri, Map<? , ? > options) throws IOException; /** * Returns a map from String properties to their corresponding values representing a description the given URI's contents. * See the {@link ContentHandler#contentDescription(URI, InputStream, Map, Map) content handler} for more details. * @param uri the URI to consider. * @param options options to influence how the content description is determined, or <code>null</code> if there are no options. * @return a map from String properties to their corresponding values representing a description the given URI's contents. * @throws IOException if there is a problem accessing the contents. * @see URIConverter#contentDescription(URI, Map) * @see ContentHandler#contentDescription(URI, InputStream, Map, Map) */ Map<String, ? > contentDescription(URI uri, Map<? , ? > options) throws IOException; /** * Returns whether the given URI has contents. * If the URI {@link #exists(URI, Map) exists} * it will be possible to {@link #createOutputStream(URI, Map) create} an input stream. * @param uri the URI to consider. * @param options options to influence how the existence determined, or <code>null</code> if there are no options. * @return whether the given URI has contents. * @see URIConverter#exists(URI, Map) */ boolean exists(URI uri, Map<? , ? > options); |
| |||
/** * Deletes the contents of the given URI. * @param uri the URI to consider. * @param options options to influence how the contents are deleted, or <code>null</code> if there are no options. * @throws IOException if there is a problem deleting the contents. * @since 2.4 */ /** * Deletes the contents of the given URI. * @param uri the URI to consider. * @param options options to influence how the contents are deleted, or <code>null</code> if there are no options. * @throws IOException if there is a problem deleting the contents. * @see URIConverter#delete(URI, Map) */ void delete(URI uri, Map<? , ? > options) throws IOException; /** * Returns a map from String properties to their corresponding values representing a description the given URI's contents. * See the {@link ContentHandler#contentDescription(URI, InputStream, Map, Map) content handler} for more details. * @param uri the URI to consider. * @param options options to influence how the content description is determined, or <code>null</code> if there are no options. * @return a map from String properties to their corresponding values representing a description the given URI's contents. * @throws IOException if there is a problem accessing the contents. * @see ContentHandler#contentDescription(URI, InputStream, Map, Map) * @since 2.4 */ /** * Returns a map from String properties to their corresponding values representing a description the given URI's contents. * See the {@link ContentHandler#contentDescription(URI, InputStream, Map, Map) content handler} for more details. * @param uri the URI to consider. * @param options options to influence how the content description is determined, or <code>null</code> if there are no options. * @return a map from String properties to their corresponding values representing a description the given URI's contents. * @throws IOException if there is a problem accessing the contents. * @see URIConverter#contentDescription(URI, Map) * @see ContentHandler#contentDescription(URI, InputStream, Map, Map) */ Map<String, ? > contentDescription(URI uri, Map<? , ? > options) throws IOException; /** * Returns whether the given URI has contents. * If the URI {@link #exists(URI, Map) exists} * it will be possible to {@link #createOutputStream(URI, Map) create} an input stream. * @param uri the URI to consider. * @param options options to influence how the existence determined, or <code>null</code> if there are no options. * @return whether the given URI has contents. * @since 2.4 */ /** * Returns whether the given URI has contents. * If the URI {@link #exists(URI, Map) exists} * it will be possible to {@link #createOutputStream(URI, Map) create} an input stream. * @param uri the URI to consider. * @param options options to influence how the existence determined, or <code>null</code> if there are no options. * @return whether the given URI has contents. * @see URIConverter#exists(URI, Map) */ boolean exists(URI uri, Map<? , ? > options); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |