public static String parseNonceFromDigestFilename ( String filename ) { if ( filename == null || ! filename . endsWith ( ".digest" ) ) { throw new IllegalArgumentException ( "Bad digest filename: " + filename ) ; } return parseNonceFromSnapshotFilename ( filename ) ; }
Get the nonce from the filename of the digest file .