public final class MediaRandom extends Object implements Media, MediaSingle
| Constructor and Description |
|---|
MediaRandom(long seed,
Path... files)
Origin.
|
MediaRandom(Media origin)
Ctor.
|
MediaRandom(Media origin,
long seed)
Ctor.
|
MediaRandom(Path... files)
Origin.
|
| Modifier and Type | Method and Description |
|---|---|
Path |
file()
Locates the files
Path that match a certain criteria. |
List<Path> |
files()
Locates the files
Path that match a certain criteria. |
public MediaRandom(Media origin, long seed)
origin - Origin.seed - Random seed.public MediaRandom(Media origin)
origin - Origin.public MediaRandom(long seed,
Path... files)
files - Files.seed - Random seed.public MediaRandom(Path... files)
files - Files.public Path file() throws IOException
MediaSinglePath that match a certain criteria.
(See decorator classes)file in interface MediaSinglePaths.IOException - If a certain criteria is not fulfilled.public List<Path> files() throws IOException
MediaPath that match a certain criteria.
(See decorator classes)files in interface MediaPaths.IOException - If a certain criteria is not fulfilled.Copyright © 2017–2018 jcabi.com. All rights reserved.