org.entityfs.fs.cap.entity
Interface ECUriResolvable

All Superinterfaces:
EntityCapability
All Known Subinterfaces:
ECFileResolvable, FCFileBacked

public interface ECUriResolvable
extends EntityCapability

This capability is supported by entities whose locations can be resolved as URI:s.

Since:
1.0
Author:
Karl Gustafsson
See Also:
ECTUriResolvable, FSCUriResolvable, ECUriResolvableUtil

Method Summary
 URI getUri()
          Get a URI object referencing the entity's location in the backing file system.
 
Methods inherited from interface org.entityfs.cap.EntityCapability
getEntity, isValid
 

Method Detail

getUri

URI getUri()
Get a URI object referencing the entity's location in the backing file system.

Warning: The URI returned is not entity lock-aware and modifying or deleting it may seriously confuse the file system. This method does not check access rights and does not do any locking either, so use it with care!

Returns:
A URI object referencing the entity's location in the backing file system.
Locks_required:
None
Permissions_required:
None