MCPcopy Create free account
hub / github.com/DiUS/java-faker / EnFile

Class EnFile

src/main/java/com/github/javafaker/service/files/EnFile.java:7–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5import java.util.List;
6
7public class EnFile {
8 private final String file;
9 private final String path;
10
11 private EnFile(String file) {
12 this(file, file.replaceFirst(".yml", ""));
13 }
14
15 private EnFile(String file, String path) {
16 this.file = file;
17 this.path = path;
18 }
19
20
21 public String getFile() {
22 return file;
23 }
24
25 public String getPath() {
26 return path;
27 }
28
29 private static List<String> FILES = Arrays.asList("address.yml",
30 "ancient.yml",
31 "animal.yml",
32 "app.yml",
33 "appliance.yml",
34 "aqua_teen_hunger_force.yml",
35 "artist.yml",
36 "aviation.yml",
37 "back_to_the_future.yml",
38 "bank.yml",
39 "beer.yml",
40 "bojack_horseman.yml",
41 "book.yml",
42 "bossa_nova.yml",
43 "breaking_bad.yml",
44 "buffy.yml",
45 "business.yml",
46 "cannabis.yml",
47 "chuck_norris.yml",
48 "code.yml",
49 "coffee.yml",
50 "coin.yml",
51 "color.yml",
52 "commerce.yml",
53 "community.yml",
54 "company.yml",
55 "compass.yml",
56 "construction.yml",
57 "cosmere.yml",
58 "country.yml",
59 "crypto_coin.yml",
60 "currency.yml",
61 "dc_comics.yml",
62 "demographic.yml",
63 "dessert.yml",
64 "device.yml",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected