public class ContentFileInfoFactory extends Object
| Constructor and Description |
|---|
ContentFileInfoFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ContentFileInfo |
createContentFileInfo(File file)
The factory method that creates a
ContentFileInfo object for the given file. |
public static ContentFileInfo createContentFileInfo(File file)
ContentFileInfo object for the given file.file - IllegalArgumentException - if there is no known ContentFileInfo type
that is able to process the file.Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.