Package com.exedio.cope.pattern
Class MediaPath.Locator
java.lang.Object
com.exedio.cope.pattern.MediaPath.Locator
- All Implemented Interfaces:
Serializable
- Enclosing class:
- MediaPath
Represents a resource to be delivered the media servlet.
Provides methods for retrieving different types of urls.
All methods of Locator do not require a connected model or a transaction to work.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Is equivalent tobf.{@link StringBuilder#append(String) append}({@link #getPath()});
void
Is equivalent tobf.{@link StringBuilder#append(String) append}({@link #getURLByConnect()});
boolean
getItem()
getPath()
Returns the same value asMediaPath.getURL(Item)
.int
hashCode()
toString()
-
Method Details
-
getFeature
-
getItem
-
getContentType
-
getPath
- See Also:
-
appendPath
Is equivalent tobf.{@link StringBuilder#append(String) append}({@link #getPath()});
-
getURLByConnect
Returns the same value asMediaPath.getURL(Item)
.- See Also:
-
appendURLByConnect
Is equivalent tobf.{@link StringBuilder#append(String) append}({@link #getURLByConnect()});
-
equals
-
hashCode
public int hashCode() -
toString
-