Package com.perforce.p4java.core.file
Interface IFileSize
-
- All Known Implementing Classes:
FileSize
public interface IFileSizeDescribes information about the size of the files in the depot. For specified file specification, it shows the depot file name, revision, file count and file size. If you use client syntax for the file specification,the view mapping is used to list the corresponding depot files. Full field semantics and usage are given in the main Perforce documentation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetChangelistId()java.lang.StringgetDepotFile()longgetFileCount()longgetFileSize()java.lang.StringgetPath()longgetRevisionId()voidsetChangelistId(long changeListId)Set the shelved changelist ID.voidsetDepotFile(java.lang.String depotFile)Set the depot file.voidsetFileCount(long fileCount)Set the file count.voidsetFileSize(long fileSize)Set the file size.voidsetPath(java.lang.String path)Set the path.voidsetRevisionId(long revisionId)Set the file revision ID.
-
-
-
Method Detail
-
getDepotFile
java.lang.String getDepotFile()
- Returns:
- the depot file.
-
setDepotFile
void setDepotFile(java.lang.String depotFile)
Set the depot file.- Parameters:
depotFile- depotFile
-
getRevisionId
long getRevisionId()
- Returns:
- the file revision ID.
-
setRevisionId
void setRevisionId(long revisionId)
Set the file revision ID.- Parameters:
revisionId- revisionId
-
getFileSize
long getFileSize()
- Returns:
- the file size.
-
setFileSize
void setFileSize(long fileSize)
Set the file size.- Parameters:
fileSize- fileSize
-
getPath
java.lang.String getPath()
- Returns:
- the path.
-
setPath
void setPath(java.lang.String path)
Set the path.- Parameters:
path- path
-
getFileCount
long getFileCount()
- Returns:
- the file count.
-
setFileCount
void setFileCount(long fileCount)
Set the file count.- Parameters:
fileCount- fileCount
-
getChangelistId
long getChangelistId()
- Returns:
- the shelved changelist ID.
-
setChangelistId
void setChangelistId(long changeListId)
Set the shelved changelist ID.- Parameters:
changeListId- changeListId
-
-