org.apache.myfaces.shared.resource
Class ResourceLoaderUtils

java.lang.Object
  extended by org.apache.myfaces.shared.resource.ResourceLoaderUtils

public class ResourceLoaderUtils
extends java.lang.Object


Constructor Summary
ResourceLoaderUtils()
           
 
Method Summary
static java.lang.String formatDateHeader(long value)
           
static long getResourceLastModified(java.net.URL url)
           
static long getResourceLastModified(java.net.URLConnection connection)
           
static java.lang.Long parseDateHeader(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceLoaderUtils

public ResourceLoaderUtils()
Method Detail

formatDateHeader

public static java.lang.String formatDateHeader(long value)

parseDateHeader

public static java.lang.Long parseDateHeader(java.lang.String value)

getResourceLastModified

public static long getResourceLastModified(java.net.URL url)
                                    throws java.io.IOException
Throws:
java.io.IOException

getResourceLastModified

public static long getResourceLastModified(java.net.URLConnection connection)
                                    throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.