|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStorageGroupFile
An interface to get the files of a MythTV storage group.
This interface represents the response of a IBackend.queryStorageGroupFile(String, String, String)
request.
This interface is property-aware
. See the properties-list
for all properties of this interface.
<0>FILE_TYPE: file | <1>FILE_PATH: /var/lib/mythtv/recordings/11123_20110321200900.mpg | <2>LAST_MOD: Mon Mar 21 22:39:28 CET 2011 | <3>FILE_SIZE: 3815729968
<0>FILE_TYPE: file | <1>FILE_PATH: /var/lib/mythtv/recordings/1063_20110329201000.mpg.png | <2>LAST_MOD: Sun Apr 10 09:46:32 CEST 2011 | <3>FILE_SIZE: 86681
<0>FILE_TYPE: file | <1>FILE_PATH: 1063_20110329203500.mpg | <2>LAST_MOD: null | <3>FILE_SIZE: null
<0>FILE_TYPE: sgdir | <1>FILE_PATH: /var/lib/mythtv/recordings | <2>LAST_MOD: null | <3>FILE_SIZE: null
IBackend.queryStorageGroupFile(java.lang.String, java.lang.String, java.lang.String)
,
QUERY_SG_FILEQUERY
Nested Class Summary | |
---|---|
static class |
IStorageGroupFile.Props
The properties of an IStorageGroupFile response. |
Method Summary | |
---|---|
String |
getFilePath()
Gets the full path to the file |
Long |
getFileSize()
Gets the file size |
String |
getFileType()
Gets the type of the file. |
Date |
getLastModified()
Gets the last modified date of the file |
boolean |
isDirectory()
Checks if the current entry is a directory. |
Methods inherited from interface org.jmythapi.IVersionable |
---|
getVersionNr |
Methods inherited from interface org.jmythapi.IPropertyAware |
---|
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject |
Method Detail |
---|
boolean isDirectory()
true
if the entry is a directory.String getFileType()
file
if the entry is a file.IStorageGroupFile.Props.FILE_TYPE
String getFilePath()
IStorageGroupFile.Props.FILE_PATH
Date getLastModified()
IStorageGroupFile.Props.LAST_MOD
Long getFileSize()
IStorageGroupFile.Props.FILE_SIZE
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |