org.rhq.core.util.file
Class ContentFileInfoFactory

java.lang.Object
  extended by org.rhq.core.util.file.ContentFileInfoFactory

public class ContentFileInfoFactory
extends Object


Constructor Summary
ContentFileInfoFactory()
           
 
Method Summary
static ContentFileInfo createContentFileInfo(File file)
          The factory method that creates a ContentFileInfo object for the given file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentFileInfoFactory

public ContentFileInfoFactory()
Method Detail

createContentFileInfo

public static ContentFileInfo createContentFileInfo(File file)
The factory method that creates a ContentFileInfo object for the given file.

Parameters:
file -
Returns:
the object that can provide information on the given file
Throws:
IllegalArgumentException - if there is no known ContentFileInfo type that is able to process the file.


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.