Package com.exedio.cope.pattern
Class MediaPath.Locator
- java.lang.Object
-
- com.exedio.cope.pattern.MediaPath.Locator
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- MediaPath
public final class MediaPath.Locator extends Object implements Serializable
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:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendPath(StringBuilder bf)
Is equivalent tobf.{@link StringBuilder#append(String) append}({@link #getPath()});
void
appendURLByConnect(StringBuilder bf)
Is equivalent tobf.{@link StringBuilder#append(String) append}({@link #getURLByConnect()});
boolean
equals(Object other)
String
getContentType()
MediaPath
getFeature()
Item
getItem()
String
getPath()
String
getURLByConnect()
Returns the same value asMediaPath.getURL(Item)
.int
hashCode()
String
toString()
-
-
-
Method Detail
-
getFeature
public MediaPath getFeature()
-
getItem
public Item getItem()
-
getContentType
public String getContentType()
-
getPath
public String getPath()
- See Also:
appendPath(StringBuilder)
-
appendPath
public void appendPath(StringBuilder bf)
Is equivalent tobf.{@link StringBuilder#append(String) append}({@link #getPath()});
-
getURLByConnect
@Nonnull public String getURLByConnect()
Returns the same value asMediaPath.getURL(Item)
.- See Also:
appendURLByConnect(StringBuilder)
-
appendURLByConnect
public void appendURLByConnect(StringBuilder bf)
Is equivalent tobf.{@link StringBuilder#append(String) append}({@link #getURLByConnect()});
-
-