Package io.urf.surf

Class SurfResources


  • @Deprecated
    public class SurfResources
    extends java.lang.Object
    Deprecated.
    TODO move to SurfSerializer
    Utility methods for working with SURF resources.
    Author:
    Garret Wilson
    • Constructor Summary

      Constructors 
      Constructor Description
      SurfResources()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static boolean isCompoundResource​(java.lang.Object resource)
      Deprecated.
      Determines whether the given resource is a compound resource, that is, one that can contain other resources.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SurfResources

        public SurfResources()
        Deprecated.
    • Method Detail

      • isCompoundResource

        public static boolean isCompoundResource​(@Nonnull
                                                 java.lang.Object resource)
        Deprecated.
        Determines whether the given resource is a compound resource, that is, one that can contain other resources. This method returns true for SurfObject, any Collection, and any Map.
        Parameters:
        resource - The resource which may or may not be a compound resource.
        Returns:
        true if the given resource may hold other resources.