Java Doc for HarmoniseNameResolver.java in  » Content-Management-System » harmonise » org » openharmonise » dav » server » utils » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Content Management System » harmonise » org.openharmonise.dav.server.utils 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.openharmonise.dav.server.utils.HarmoniseNameResolver

HarmoniseNameResolver
public class HarmoniseNameResolver (Code)
This class deals with the resolving of resource names and paths from DAV to Harmonise and vice versa.
author:
   Michael Bell
version:
   $Revision: 1.6 $


Field Summary
final public static  StringARCHIVE_NAME
    
final public static  StringASSETS_NAME
    
final public static  StringASSETS_PATH
    
final public static  StringCOMPOSITION_NAME
    
final public static  StringCONTENT_NAME
    
final public static  StringDISPLAY_NAME
    
final public static  StringDOCS_NAME
    
final public static  StringDOCS_PATH
    
final public static  StringINCLUDES_NAME
    
final public static  StringINCLUDES_PATH
    
final public static  StringMETADATA_NAME
    
final public static  StringNEWSLETTER_NAME
    
final public static  StringNEWSLETTER_PATH
    
final public static  StringO_TEMPLATES_NAME
    
final public static  StringO_TEMPLATES_PATH
    
final public static  StringPNAME_AUTO_APPROVE_COLLECTIONS
    
final public static  StringPROPERTY_NAME
    
final public static  StringPROPERTY_PATH
    
final public static  StringP_TEMPLATES_NAME
    
final public static  StringP_TEMPLATES_PATH
    
final public static  StringRBS_PROPS_NAME
    
final public static  StringRBS_PROPS_PATH
    
final public static  StringRBS_VALS_NAME
    
final public static  StringRBS_VALS_PATH
    
final public static  StringREPORTS_NAME
    
final public static  StringREPORTS_PATH
    
final public static  StringRESOURCE_TYPE_COLLECTION
    
final public static  StringRESOURCE_TYPE_PROPERTY
    
final public static  StringRESOURCE_TYPE_RESOURCE
    
final public static  StringRESOURCE_TYPE_VALUE
    
final public static  StringROOT_NAME
    
final public static  StringROOT_PATH
    
final public static  StringSITE_ASSETS_NAME
    
final public static  StringSITE_ASSETS_PATH
    
final public static  StringSTART_PROP_NAME
    
final public static  StringSYSTEM_PROPS_NAME
    
final public static  StringSYSTEM_PROPS_PATH
    
final public static  StringURL_SEPARATOR
    
final public static  StringUSERS_NAME
    
final public static  StringUSERS_PATH
    
final public static  StringUTF_8
    
final public static  StringVALUE_NAME
    
final public static  StringVALUE_PATH
    
final public static  StringVIRTUAL_COLLECTION_NAME
    
final public static  StringVIRTUAL_RESOURCE_NAME
    
final public static  StringWEBDAV_ROOT_MARKER
    
final public static  StringWEBPAGES_NAME
    
final public static  StringWEBPAGES_PATH
    
final public static  StringWEBSITE_NAME
    
final public static  StringWORKFLOW_DEFS_NAME
    
final public static  StringWORKFLOW_DEFS_PATH
    
final public static  StringWORKFLOW_PROPS_NAME
    
final public static  StringWORKFLOW_PROPS_PATH
    
final public static  StringWORKFLOW_STAGES_NAME
    
final public static  StringWORKFLOW_STAGES_PATH
    
final public static  StringXSLT_NAME
    
final public static  StringXSLT_PATH
    

Constructor Summary
public  HarmoniseNameResolver()
    

Method Summary
public static  AbstractChildObjectgetArchivedObject(AbstractDataStoreInterface dsi, String sPath)
     Returns the archived child object reference by the given path.
public static  ListgetArchivedVirtualCollectionMemberNames(URL resourceURL)
    
public static  StringgetChildTypeFromURL(String sPath)
     Returns the class name associated to the given URL of the resource, if the URL is a version URL, or at least the resource type's group class name if the URL is a standard DAV URL.
public static  StringgetClassFromResourceTypeDesc(String sResourceType, String sContentType)
     Returns the Harmonise classname appropriate for the given combination of resource type and content type.
public static  StringgetDAVPath(AbstractChildObject cobj)
     Returns the URI that the given object can be accessed by over WebDAV.
public static  StringgetDAVPath(AbstractDataStoreInterface dsi, String harmonisePath)
     Returns the DAV path equivalent of a Harmonise path.
public static  StringgetDAVPath(Class clss, String sHarmonisePath)
     Returns the URI that the given object can be accessed by over WebDAV.
public static  StringgetFilePath(URL url)
     Returns the path to a file on the local file system associated to the given URL.
public static  StringgetFullURL(AbstractChildObject cobj, URL resourceUrl)
     Returns the full URL for the given child object.
public static  StringgetLastSegment(String sPath)
     Returns the path of the parent of the object reference by the given path.
public static  AbstractChildObjectgetObjectFromNonVersionURL(AbstractDataStoreInterface dsi, String sPath)
     Returns a child object from the given non-version URL.
public static  AbstractChildObjectgetObjectFromURL(AbstractDataStoreInterface dsi, URL url)
     Returns a child object from the given URL.
public static  AbstractChildObjectgetObjectFromURL(AbstractDataStoreInterface dsi, String sPath)
     Returns a child object from the given URL.
public static  AbstractChildObjectgetObjectFromVersionURL(AbstractDataStoreInterface dsi, String sPath)
     Returns a child object from a version URL.
public static  StringgetParentTypeFromURL(String sPath)
     Returns the class name associated to the given URL of the resource, if the URL is a version URL, or at least the resource type's group class name if the URL is a standard DAV URL.
public static  StringgetPathParent(String sPath)
     Returns the path of the parent of the object reference by the given path.
public static  ProfilegetProfileForNamespaceURI(AbstractProfiledObject profObj, String sURI)
     Returns the correct profile for the AbstarctProfiledObject for the given namespace URI.
public static  NamespaceTypegetPropertyNamespace(Property prop)
     Returns the correct namespace for the given property.
public static  StringgetRealPath(URL url)
     Translate a URL into a Harmonise path name.
public static  StringgetRealPath(String sPath)
     Translate a URL into a Harmonise path name.
public static  StringgetResourceName(URL url)
     Returns the name of the resource referenced by the given URL.
public static  StringgetResourceType(String sResourceName)
    
public static  StringgetResourceTypeFromClass(String sClassName)
     Returns the resource type for a given class name.
public static  ListgetRootCollections()
     Returns the member collections of the DAV root.
public static  StringgetRootForClass(String sClassname)
    
public static  StringgetTagForLiveProperty(String livepropname)
    
public static  StringgetTypeFromVersionURL(String sPath)
     Returns the class name associated to the given URL of the resource, if the URL is a version URL, or at least the resource type's group class name if the URL is a standard DAV URL.
public static  StringgetUUID(String uri, String user_name)
     Returns a Universal Unique Identifier for the combination of URI and user name.
public static  StringgetVersionPath(AbstractChildObject child)
    
public static  ListgetVirtualCollectionMemberNames(URL url)
    
public static  ListgetVirtualCollectionMemberNames(String sPath)
     Returns the list of members for the virtual collection found at the given URL.
public static  booleanhasValidDAVPath(AbstractChildObject child)
    
public static  booleanisArchiveRoot(URL url)
    
public static  booleanisArchiveRoot(String sPath)
    
public static  booleanisArchiveURL(URL url)
     Returns true if URL is a path to an archived version.
public static  booleanisArchiveURL(String sURL)
     Returns true if URL is a path to an archived version.
public static  booleanisArchivedVirtualCollection(URL resourceURL)
    
public static  booleanisDAVPath(String sPath)
     Returns true if the specified path starts with the WEBDAV_ROOT_MARKER segment.
public static  booleanisDAVRoot(URL url)
     Returns true if the given url references the root of the DAV server i.e.
public static  booleanisDAVRoot(String sURL)
     Returns true if the given url references the root of the DAV server i.e.
public static  booleanisMappedLiveProperty(String livepropname)
    
public static  booleanisVersionPath(String sPath)
     Returns true if the given URL path is a version path of the form 'http://..../../4/ver/23' where 4 would be the live id of a versioned resource and 23 would be the key of the specific version.
public static  booleanisVirtualCollection(URL url)
     Returns true if the given url references one of the virtual collections i.e.
public static  booleanisVirtualCollection(String sPath)
     Returns true if the given url references one of the virtual collections i.e.
public static  booleanisVirtualResource(URL url)
     Returns true if the given url references a virtual resource i.e.
public static  StringstripExtension(String sName)
     Returns a String stripped of anything after and including a '.', if there is one.

Field Detail
ARCHIVE_NAME
final public static String ARCHIVE_NAME(Code)



ASSETS_NAME
final public static String ASSETS_NAME(Code)



ASSETS_PATH
final public static String ASSETS_PATH(Code)



COMPOSITION_NAME
final public static String COMPOSITION_NAME(Code)



CONTENT_NAME
final public static String CONTENT_NAME(Code)



DISPLAY_NAME
final public static String DISPLAY_NAME(Code)



DOCS_NAME
final public static String DOCS_NAME(Code)



DOCS_PATH
final public static String DOCS_PATH(Code)



INCLUDES_NAME
final public static String INCLUDES_NAME(Code)



INCLUDES_PATH
final public static String INCLUDES_PATH(Code)



METADATA_NAME
final public static String METADATA_NAME(Code)



NEWSLETTER_NAME
final public static String NEWSLETTER_NAME(Code)



NEWSLETTER_PATH
final public static String NEWSLETTER_PATH(Code)



O_TEMPLATES_NAME
final public static String O_TEMPLATES_NAME(Code)



O_TEMPLATES_PATH
final public static String O_TEMPLATES_PATH(Code)



PNAME_AUTO_APPROVE_COLLECTIONS
final public static String PNAME_AUTO_APPROVE_COLLECTIONS(Code)



PROPERTY_NAME
final public static String PROPERTY_NAME(Code)



PROPERTY_PATH
final public static String PROPERTY_PATH(Code)



P_TEMPLATES_NAME
final public static String P_TEMPLATES_NAME(Code)



P_TEMPLATES_PATH
final public static String P_TEMPLATES_PATH(Code)



RBS_PROPS_NAME
final public static String RBS_PROPS_NAME(Code)



RBS_PROPS_PATH
final public static String RBS_PROPS_PATH(Code)



RBS_VALS_NAME
final public static String RBS_VALS_NAME(Code)



RBS_VALS_PATH
final public static String RBS_VALS_PATH(Code)



REPORTS_NAME
final public static String REPORTS_NAME(Code)



REPORTS_PATH
final public static String REPORTS_PATH(Code)



RESOURCE_TYPE_COLLECTION
final public static String RESOURCE_TYPE_COLLECTION(Code)



RESOURCE_TYPE_PROPERTY
final public static String RESOURCE_TYPE_PROPERTY(Code)



RESOURCE_TYPE_RESOURCE
final public static String RESOURCE_TYPE_RESOURCE(Code)



RESOURCE_TYPE_VALUE
final public static String RESOURCE_TYPE_VALUE(Code)



ROOT_NAME
final public static String ROOT_NAME(Code)



ROOT_PATH
final public static String ROOT_PATH(Code)



SITE_ASSETS_NAME
final public static String SITE_ASSETS_NAME(Code)



SITE_ASSETS_PATH
final public static String SITE_ASSETS_PATH(Code)



START_PROP_NAME
final public static String START_PROP_NAME(Code)



SYSTEM_PROPS_NAME
final public static String SYSTEM_PROPS_NAME(Code)



SYSTEM_PROPS_PATH
final public static String SYSTEM_PROPS_PATH(Code)



URL_SEPARATOR
final public static String URL_SEPARATOR(Code)



USERS_NAME
final public static String USERS_NAME(Code)



USERS_PATH
final public static String USERS_PATH(Code)



UTF_8
final public static String UTF_8(Code)



VALUE_NAME
final public static String VALUE_NAME(Code)



VALUE_PATH
final public static String VALUE_PATH(Code)



VIRTUAL_COLLECTION_NAME
final public static String VIRTUAL_COLLECTION_NAME(Code)



VIRTUAL_RESOURCE_NAME
final public static String VIRTUAL_RESOURCE_NAME(Code)



WEBDAV_ROOT_MARKER
final public static String WEBDAV_ROOT_MARKER(Code)



WEBPAGES_NAME
final public static String WEBPAGES_NAME(Code)



WEBPAGES_PATH
final public static String WEBPAGES_PATH(Code)



WEBSITE_NAME
final public static String WEBSITE_NAME(Code)



WORKFLOW_DEFS_NAME
final public static String WORKFLOW_DEFS_NAME(Code)



WORKFLOW_DEFS_PATH
final public static String WORKFLOW_DEFS_PATH(Code)



WORKFLOW_PROPS_NAME
final public static String WORKFLOW_PROPS_NAME(Code)



WORKFLOW_PROPS_PATH
final public static String WORKFLOW_PROPS_PATH(Code)



WORKFLOW_STAGES_NAME
final public static String WORKFLOW_STAGES_NAME(Code)



WORKFLOW_STAGES_PATH
final public static String WORKFLOW_STAGES_PATH(Code)



XSLT_NAME
final public static String XSLT_NAME(Code)



XSLT_PATH
final public static String XSLT_PATH(Code)




Constructor Detail
HarmoniseNameResolver
public HarmoniseNameResolver()(Code)




Method Detail
getArchivedObject
public static AbstractChildObject getArchivedObject(AbstractDataStoreInterface dsi, String sPath) throws NameResolverException(Code)
Returns the archived child object reference by the given path.
Parameters:
  dsi -
Parameters:
  sPath -
throws:
  NameResolverException -



getArchivedVirtualCollectionMemberNames
public static List getArchivedVirtualCollectionMemberNames(URL resourceURL)(Code)



getChildTypeFromURL
public static String getChildTypeFromURL(String sPath) throws NameResolverException(Code)
Returns the class name associated to the given URL of the resource, if the URL is a version URL, or at least the resource type's group class name if the URL is a standard DAV URL.
Parameters:
  sPath -



getClassFromResourceTypeDesc
public static String getClassFromResourceTypeDesc(String sResourceType, String sContentType)(Code)
Returns the Harmonise classname appropriate for the given combination of resource type and content type.
Parameters:
  sResourceType -
Parameters:
  sContentType -



getDAVPath
public static String getDAVPath(AbstractChildObject cobj) throws NameResolverException(Code)
Returns the URI that the given object can be accessed by over WebDAV.
Parameters:
  cobj -
throws:
  Exception -



getDAVPath
public static String getDAVPath(AbstractDataStoreInterface dsi, String harmonisePath) throws NameResolverException(Code)
Returns the DAV path equivalent of a Harmonise path. Note: it's more efficent to use the getDAVPath which takes both the class and the Harmonise path.
Parameters:
  dsi -
Parameters:
  harmonisePath -
throws:
  NameResolverException -



getDAVPath
public static String getDAVPath(Class clss, String sHarmonisePath) throws NameResolverException(Code)
Returns the URI that the given object can be accessed by over WebDAV.
Parameters:
  clss -
Parameters:
  sHarmonisePath -
throws:
  NameResolverException -



getFilePath
public static String getFilePath(URL url) throws NameResolverException(Code)
Returns the path to a file on the local file system associated to the given URL.
Parameters:
  url -
throws:
  Exception -



getFullURL
public static String getFullURL(AbstractChildObject cobj, URL resourceUrl) throws NameResolverException(Code)
Returns the full URL for the given child object.
Parameters:
  cobj -
Parameters:
  resourceUrl -



getLastSegment
public static String getLastSegment(String sPath)(Code)
Returns the path of the parent of the object reference by the given path.
Parameters:
  sPath -



getObjectFromNonVersionURL
public static AbstractChildObject getObjectFromNonVersionURL(AbstractDataStoreInterface dsi, String sPath) throws NameResolverException(Code)
Returns a child object from the given non-version URL.
Parameters:
  dsi -
Parameters:
  sPath -
throws:
  NameResolverException -



getObjectFromURL
public static AbstractChildObject getObjectFromURL(AbstractDataStoreInterface dsi, URL url) throws NameResolverException(Code)
Returns a child object from the given URL.
Parameters:
  dsi -
Parameters:
  url -
throws:
  NameResolverException -



getObjectFromURL
public static AbstractChildObject getObjectFromURL(AbstractDataStoreInterface dsi, String sPath) throws NameResolverException(Code)
Returns a child object from the given URL.
Parameters:
  dsi -
Parameters:
  sPath -
throws:
  NameResolverException -



getObjectFromVersionURL
public static AbstractChildObject getObjectFromVersionURL(AbstractDataStoreInterface dsi, String sPath) throws NameResolverException(Code)
Returns a child object from a version URL.
Parameters:
  dsi -
Parameters:
  sPath -
throws:
  NameResolverException -



getParentTypeFromURL
public static String getParentTypeFromURL(String sPath) throws NameResolverException(Code)
Returns the class name associated to the given URL of the resource, if the URL is a version URL, or at least the resource type's group class name if the URL is a standard DAV URL.
Parameters:
  sPath -
throws:
  NameResolverException -



getPathParent
public static String getPathParent(String sPath)(Code)
Returns the path of the parent of the object reference by the given path.
Parameters:
  sPath -



getProfileForNamespaceURI
public static Profile getProfileForNamespaceURI(AbstractProfiledObject profObj, String sURI) throws DataAccessException, InvalidProfileException(Code)
Returns the correct profile for the AbstarctProfiledObject for the given namespace URI. If the object doesn not have an associated profile for a recognised namespace the profile is created, attached to the object and returned.
Parameters:
  profObj -
Parameters:
  sURI -
throws:
  DataAccessException -
throws:
  InvalidProfileException -



getPropertyNamespace
public static NamespaceType getPropertyNamespace(Property prop) throws DataAccessException(Code)
Returns the correct namespace for the given property.
Parameters:
  prop -



getRealPath
public static String getRealPath(URL url) throws NameResolverException(Code)
Translate a URL into a Harmonise path name.
Parameters:
  url - the URL of the resource the translated pathname



getRealPath
public static String getRealPath(String sPath) throws NameResolverException(Code)
Translate a URL into a Harmonise path name.
Parameters:
  url - the URL of the resource the translated pathname



getResourceName
public static String getResourceName(URL url) throws UnsupportedEncodingException(Code)
Returns the name of the resource referenced by the given URL. Effectively returns the last segment of the given URI.
Parameters:
  url - the reosurce URL the name of the resource
throws:
  UnsupportedEncodingException - if an error occurs decodingthe URI



getResourceType
public static String getResourceType(String sResourceName)(Code)



getResourceTypeFromClass
public static String getResourceTypeFromClass(String sClassName) throws NameResolverException(Code)
Returns the resource type for a given class name.
Parameters:
  sClassName -



getRootCollections
public static List getRootCollections()(Code)
Returns the member collections of the DAV root.



getRootForClass
public static String getRootForClass(String sClassname) throws NameResolverException(Code)

Parameters:
  sDomainObj -



getTagForLiveProperty
public static String getTagForLiveProperty(String livepropname)(Code)



getTypeFromVersionURL
public static String getTypeFromVersionURL(String sPath)(Code)
Returns the class name associated to the given URL of the resource, if the URL is a version URL, or at least the resource type's group class name if the URL is a standard DAV URL.
Parameters:
  sPath -



getUUID
public static String getUUID(String uri, String user_name) throws NameResolverException(Code)
Returns a Universal Unique Identifier for the combination of URI and user name.
Parameters:
  uri -
Parameters:
  user_name -
throws:
  NameResolverException -



getVersionPath
public static String getVersionPath(AbstractChildObject child) throws NameResolverException(Code)
Returns the version path to a specific version of a resource
Parameters:
  child -
throws:
  NameResolverException -



getVirtualCollectionMemberNames
public static List getVirtualCollectionMemberNames(URL url)(Code)



getVirtualCollectionMemberNames
public static List getVirtualCollectionMemberNames(String sPath)(Code)
Returns the list of members for the virtual collection found at the given URL.
Parameters:
  resourceURL -



hasValidDAVPath
public static boolean hasValidDAVPath(AbstractChildObject child) throws WebDAVException(Code)



isArchiveRoot
public static boolean isArchiveRoot(URL url)(Code)
Returns true if the given url references the archive root
Parameters:
  url -



isArchiveRoot
public static boolean isArchiveRoot(String sPath)(Code)
Returns true if the given url references the archive root
Parameters:
  url -



isArchiveURL
public static boolean isArchiveURL(URL url)(Code)
Returns true if URL is a path to an archived version.
Parameters:
  sURL -



isArchiveURL
public static boolean isArchiveURL(String sURL)(Code)
Returns true if URL is a path to an archived version.
Parameters:
  sURL -



isArchivedVirtualCollection
public static boolean isArchivedVirtualCollection(URL resourceURL)(Code)

Parameters:
  resourceURL -



isDAVPath
public static boolean isDAVPath(String sPath)(Code)
Returns true if the specified path starts with the WEBDAV_ROOT_MARKER segment.
Parameters:
  path -



isDAVRoot
public static boolean isDAVRoot(URL url)(Code)
Returns true if the given url references the root of the DAV server i.e. http://.../webdav/
Parameters:
  url -



isDAVRoot
public static boolean isDAVRoot(String sURL)(Code)
Returns true if the given url references the root of the DAV server i.e. http://.../webdav/
Parameters:
  url -



isMappedLiveProperty
public static boolean isMappedLiveProperty(String livepropname)(Code)



isVersionPath
public static boolean isVersionPath(String sPath)(Code)
Returns true if the given URL path is a version path of the form 'http://..../../4/ver/23' where 4 would be the live id of a versioned resource and 23 would be the key of the specific version.
Parameters:
  sPath -



isVirtualCollection
public static boolean isVirtualCollection(URL url)(Code)
Returns true if the given url references one of the virtual collections i.e. a collection represented in the DAV hierarchy that doesn't have an equivalent Harmonise parent object
Parameters:
  url -



isVirtualCollection
public static boolean isVirtualCollection(String sPath)(Code)
Returns true if the given url references one of the virtual collections i.e. a collection represented in the DAV hierarchy that doesn't have an equivalent Harmonise parent object.
Parameters:
  url -



isVirtualResource
public static boolean isVirtualResource(URL url)(Code)
Returns true if the given url references a virtual resource i.e. a non-existent resource representing collection resources.
Parameters:
  url -



stripExtension
public static String stripExtension(String sName)(Code)
Returns a String stripped of anything after and including a '.', if there is one.
Parameters:
  sName -



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.