Package com.helger.commons.url
Class ConstantHasSimpleURL
- java.lang.Object
-
- com.helger.commons.url.ConstantHasSimpleURL
-
- All Implemented Interfaces:
IHasSimpleURL
@Immutable public class ConstantHasSimpleURL extends Object implements IHasSimpleURL
Implementation ofIHasSimpleURLthat has a constant URL.- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description ConstantHasSimpleURL(ISimpleURL aURL)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ISimpleURLgetSimpleURL()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
ConstantHasSimpleURL
public ConstantHasSimpleURL(@Nonnull ISimpleURL aURL)
-
-
Method Detail
-
getSimpleURL
@Nonnull public ISimpleURL getSimpleURL()
- Specified by:
getSimpleURLin interfaceIHasSimpleURL- Returns:
- The simple URL to be used. May not be
null.
-
-