|
YAACC - UPNP Client and Server
|
File names in the app's cache/incoming/ directory (copies of provider files that cannot seek).
More...

Static Public Member Functions | |
| static String | randomName (Consumer< byte[]> randomBytes) |
| static boolean | isOurIncomingName (String name) |
File names in the app's cache/incoming/ directory (copies of provider files that cannot seek).
Plain Java. A name is share- plus 32 random lower-case hex chars plus .bin: never derived from provider data (a provider name could hold path separators or collide), and recognisable strictly, so the sweep at app start deletes only files this app created there.
|
static |
randomName produces: the prefix, 32 lower-case ASCII hex chars, the suffix; nothing is trimmed or case-folded, null is false Referenced by de.yaacc.share.IncomingCache.sweep().

|
static |
| randomBytes | fills the given array with random bytes (e.g. secureRandom::nextBytes) |
share-0123456789abcdef0123456789abcdef.bin | IllegalArgumentException | if the random source is null |
Referenced by de.yaacc.share.IncomingCache.createCopyFile().
