Interface ISizesDelegator

    • Method Detail

      • getFileSizes

        java.util.List<IFileSize> getFileSizes​(java.util.List<IFileSpec> fileSpecs,
                                               GetFileSizesOptions opts)
                                        throws P4JavaException
        Gets a list of file sizes for one or more files in the depot.

        For specified file specification, get 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.

        Parameters:
        fileSpecs - filespecs to be processed; if null or empty, an empty list is returned.
        opts - GetFileSizesOptions object describing optional parameters; if null, no options are set.
        Returns:
        a non-null (but possibly empty) list of file sizes.
        Throws:
        P4JavaException - if any error occurs in the processing of this method.
        Since:
        2013.2