org.rhq.core.util.file
Class ContentFileInfoFactory
java.lang.Object
org.rhq.core.util.file.ContentFileInfoFactory
public class ContentFileInfoFactory
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentFileInfoFactory
public ContentFileInfoFactory()
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.