public class MapServerUtils
extends java.lang.Object
Constructor and Description |
---|
MapServerUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createUniqueOutputFormatName(java.util.List<OutputFormat> set,
java.lang.String symbolName) |
static java.lang.String |
createUniqueSymbolName(SymbolSet set,
java.lang.String symbolName) |
static java.lang.String |
getAngleFromPlacementConstraints(IPlacementConstraints pc) |
static java.lang.String |
getBandTypeName(int bandsDataType) |
static java.math.BigInteger |
getBigInteger(double doble) |
static java.math.BigInteger |
getBigInteger(float flo) |
static java.math.BigInteger |
getBigInteger(int flo) |
static java.math.BigInteger |
getBigInteger(long lon) |
static java.lang.String |
getCorrectFilePathFromUrl(java.lang.String originPath) |
static java.lang.String |
getCorrectUnits(java.lang.String lowerCase) |
static ViewDocument |
getCurrentViewDocument() |
static java.lang.Double |
getDecreasedMin(double value) |
static OutputFormat |
getDefaultOutputFormatByExtension(java.lang.String extension) |
static OutputFormat |
getDefaultOutputFormatByMimeType(java.lang.String mimeType) |
static OutputFormat |
getDefaultOutputFormatByName(java.lang.String name) |
static java.lang.String |
getExtension(java.lang.String name2) |
static java.lang.String |
getFileName(java.lang.String basePath) |
static java.lang.String |
getHostWithoutParametersFromURL(java.lang.String host) |
static java.lang.String |
getHostWithoutParametersFromURL(java.net.URI uri) |
static java.lang.Double |
getIncrementedMax(double value) |
static java.lang.String |
getLayerType(GeometryType geometryType) |
static java.lang.String |
getNameWithoutExtension(java.lang.String name2) |
static java.math.BigInteger |
getOpacity(int fillAlpha) |
static java.util.List<OutputFormat> |
getOutputFormatList() |
static java.lang.String |
getPositionFromPlacementConstraints(IPlacementConstraints pc) |
static java.lang.String |
getProviderName(java.lang.String providerName) |
static RgbColorType |
getRgbColorType(java.awt.Color color) |
static StateEnum |
getStateEnumSymbol(boolean shapeVisible) |
static java.lang.String |
getStatus(boolean status) |
static java.lang.String |
getValidLayerType(java.lang.String type) |
static ViewDocument |
getViewDocumentFromLayer(FLayer layer) |
static java.util.List<OutputFormat> |
getWFSDefaultOutputFormat() |
static boolean |
isNumeric(java.lang.String str) |
static boolean |
isOutputLoaded(java.util.List<OutputFormat> outputFormat,
OutputFormat out) |
static boolean |
isRelativePath(java.lang.String path) |
static java.lang.String |
relativePath(java.lang.String targetPath,
java.lang.String basePath) |
public static java.math.BigInteger getBigInteger(double doble)
public static java.math.BigInteger getBigInteger(long lon)
public static java.math.BigInteger getBigInteger(float flo)
public static java.math.BigInteger getBigInteger(int flo)
public static StateEnum getStateEnumSymbol(boolean shapeVisible)
public static java.lang.String getLayerType(GeometryType geometryType)
public static boolean isOutputLoaded(java.util.List<OutputFormat> outputFormat, OutputFormat out)
public static java.lang.String getCorrectUnits(java.lang.String lowerCase)
public static java.lang.String getProviderName(java.lang.String providerName)
public static java.lang.String getStatus(boolean status)
public static java.lang.String getValidLayerType(java.lang.String type)
public static java.lang.String getPositionFromPlacementConstraints(IPlacementConstraints pc)
public static java.lang.String getAngleFromPlacementConstraints(IPlacementConstraints pc)
public static boolean isRelativePath(java.lang.String path)
public static java.lang.String getFileName(java.lang.String basePath)
public static java.lang.String relativePath(java.lang.String targetPath, java.lang.String basePath)
public static java.lang.String createUniqueSymbolName(SymbolSet set, java.lang.String symbolName)
public static java.lang.String createUniqueOutputFormatName(java.util.List<OutputFormat> set, java.lang.String symbolName)
public static java.lang.Double getDecreasedMin(double value)
public static java.lang.Double getIncrementedMax(double value)
public static java.lang.String getNameWithoutExtension(java.lang.String name2)
public static java.lang.String getExtension(java.lang.String name2)
public static java.lang.String getHostWithoutParametersFromURL(java.net.URI uri)
public static java.lang.String getHostWithoutParametersFromURL(java.lang.String host)
public static RgbColorType getRgbColorType(java.awt.Color color)
public static java.lang.String getCorrectFilePathFromUrl(java.lang.String originPath)
public static OutputFormat getDefaultOutputFormatByName(java.lang.String name)
public static OutputFormat getDefaultOutputFormatByMimeType(java.lang.String mimeType)
public static java.util.List<OutputFormat> getWFSDefaultOutputFormat()
public static OutputFormat getDefaultOutputFormatByExtension(java.lang.String extension)
public static java.lang.String getBandTypeName(int bandsDataType)
public static java.util.List<OutputFormat> getOutputFormatList()
public static boolean isNumeric(java.lang.String str)
public static ViewDocument getCurrentViewDocument()
public static ViewDocument getViewDocumentFromLayer(FLayer layer)
public static java.math.BigInteger getOpacity(int fillAlpha)