Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api.changedetection.digest
Interface DigesterUtil

    public interface DigesterUtil

Utility class to calculate the digest of a file or directory based on a requested strategy.

Method Summary
`void` | `digestDirectory(java.security.MessageDigest digester, java.io.File directory, long directorySize)` Updated the digester for a directory based on the requested strategy.
`void` | `digestFile(java.security.MessageDigest digester, java.io.File file)` Updates the digester for a file based an the requested strategy.

Method Detail

### digestFile

    void digestFile(java.security.MessageDigest digester,
                    java.io.File file)

  Updates the digester for a file based an the requested strategy.

  Parameters:
    `digester` - The digester to update.
    `file` - The file that needs it's digest calculated.

### digestDirectory

    void digestDirectory(java.security.MessageDigest digester,
                         java.io.File directory,
                         long directorySize)

  Updated the digester for a directory based on the requested strategy.

  Parameters:
    `digester` - The digester to update.
    `directory` - The directory that needs it's digest calculated.
    `directorySize` - The size of the directory to use for digest calculation.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD