BrightSide Workbench Full Report + Source Code
org.turro.file.VideoFile Class Reference
Inheritance diagram for org.turro.file.VideoFile:
Collaboration diagram for org.turro.file.VideoFile:

Public Member Functions

 VideoFile (File file)
 
- Public Member Functions inherited from org.turro.file.FileWrapper
 FileWrapper (File file)
 
File getFile ()
 
String getBaseName ()
 
String getExtension ()
 
List< FileActiongetActions ()
 
FileAction getAction (String label)
 
Properties getProperties () throws FileNotFoundException, IOException
 
FileItem getFileItem ()
 
void setFileItem (FileItem fileItem)
 
void delete ()
 
void copyTo (File destination) throws IOException
 
void download ()
 
void upload (final Command command)
 
void uploadContent (final Command command)
 

Static Public Member Functions

static boolean isMyType (File file)
 
- Static Public Member Functions inherited from org.turro.file.FileWrapper
static FileWrapper getFileByType (File file)
 

Additional Inherited Members

- Protected Attributes inherited from org.turro.file.FileWrapper
File file
 
FileItem fileItem
 
PropertiesFile propertiesFile
 
List< FileActionactions
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 27 of file VideoFile.java.

Constructor & Destructor Documentation

◆ VideoFile()

org.turro.file.VideoFile.VideoFile ( File  file)

Definition at line 29 of file VideoFile.java.

29  {
30  super(file);
31  }

Member Function Documentation

◆ isMyType()

static boolean org.turro.file.VideoFile.isMyType ( File  file)
static

Definition at line 33 of file VideoFile.java.

33  {
34  String ext = FileUtil.getExtension(file);
35  return "avi".equalsIgnoreCase(ext) ||
36  "mpg".equalsIgnoreCase(ext) ||
37  "mpeg".equalsIgnoreCase(ext) ||
38  "flv".equalsIgnoreCase(ext);
39  }
Here is the caller graph for this function:

The documentation for this class was generated from the following file: