net.sourceforge.fluxion.pussycat.util
Class PussycatUtils

java.lang.Object
  extended by net.sourceforge.fluxion.pussycat.util.PussycatUtils

public class PussycatUtils
extends java.lang.Object


Nested Class Summary
protected static class PussycatUtils.Operating_System
           
 
Field Summary
static java.lang.String USER_LEVEL
           
 
Method Summary
static java.lang.String escapify(java.lang.String text)
           
static java.lang.String getDotLocation()
           
static java.lang.String getNameSpace(java.net.URI uri)
           
static java.lang.String getUserLevel()
           
static boolean isLocalURL(java.lang.String s)
           
static java.lang.String parseReasons(java.util.Set<java.lang.String> reasons)
           
static java.lang.String printNextHistoryResourceLink(java.net.URI u)
           
static java.lang.String printNextHistoryResourceLink(java.net.URI u, java.lang.String label)
           
static java.lang.String printPreviousHistoryResourceLink(java.net.URI u)
           
static java.lang.String printPreviousHistoryResourceLink(java.net.URI u, java.lang.String label)
           
static java.lang.String printRenderletUpdateLink(java.lang.String renderletId, java.net.URI u)
           
static java.lang.String printRenderletUpdateLink(java.lang.String renderletId, java.net.URI u, java.lang.String label)
           
static java.lang.String printResourceLink(java.net.URI u)
           
static java.lang.String printResourceLink(java.net.URI u, java.lang.String label)
           
static java.lang.String removeLeadingSlashes(java.lang.String s)
           
static void setUserLevel(java.lang.String level)
           
static java.util.SortedSet sortSet(java.util.Set object)
           
static java.util.SortedSet sortStringSet(java.util.Set string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER_LEVEL

public static final java.lang.String USER_LEVEL
See Also:
Constant Field Values
Method Detail

printRenderletUpdateLink

public static java.lang.String printRenderletUpdateLink(java.lang.String renderletId,
                                                        java.net.URI u)
                                                 throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

printRenderletUpdateLink

public static java.lang.String printRenderletUpdateLink(java.lang.String renderletId,
                                                        java.net.URI u,
                                                        java.lang.String label)
                                                 throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

printResourceLink

public static java.lang.String printResourceLink(java.net.URI u)
                                          throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

printResourceLink

public static java.lang.String printResourceLink(java.net.URI u,
                                                 java.lang.String label)
                                          throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

printPreviousHistoryResourceLink

public static java.lang.String printPreviousHistoryResourceLink(java.net.URI u)
                                                         throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

printPreviousHistoryResourceLink

public static java.lang.String printPreviousHistoryResourceLink(java.net.URI u,
                                                                java.lang.String label)
                                                         throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

printNextHistoryResourceLink

public static java.lang.String printNextHistoryResourceLink(java.net.URI u)
                                                     throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

printNextHistoryResourceLink

public static java.lang.String printNextHistoryResourceLink(java.net.URI u,
                                                            java.lang.String label)
                                                     throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

removeLeadingSlashes

public static java.lang.String removeLeadingSlashes(java.lang.String s)

escapify

public static java.lang.String escapify(java.lang.String text)

isLocalURL

public static boolean isLocalURL(java.lang.String s)
                          throws PussycatException
Throws:
PussycatException

getNameSpace

public static java.lang.String getNameSpace(java.net.URI uri)

sortSet

public static java.util.SortedSet sortSet(java.util.Set object)

sortStringSet

public static java.util.SortedSet sortStringSet(java.util.Set string)

parseReasons

public static java.lang.String parseReasons(java.util.Set<java.lang.String> reasons)

setUserLevel

public static void setUserLevel(java.lang.String level)
                         throws PussycatException
Throws:
PussycatException

getUserLevel

public static java.lang.String getUserLevel()

getDotLocation

public static java.lang.String getDotLocation()


Copyright © 2010. All Rights Reserved.