All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.javafaker.Witcher Maven / Gradle / Ivy

Go to download

This library is a port of Ruby's stympy/faker gem (as well as Perl's Data::Faker library) that generates fake data. It's useful when you're developing a new project and need some pretty data for showcase.

There is a newer version: 1.0.2
Show newest version
package com.github.javafaker;

public class Witcher {
    private final Faker faker;
    
    protected Witcher(Faker faker) {
        this.faker = faker;
    }
    
    public String character() {
        return faker.fakeValuesService().resolve("witcher.characters", this, faker);
    }
    
    public String witcher() {
        return faker.fakeValuesService().resolve("witcher.witchers", this, faker);
    }
    
    public String school() {
        return faker.fakeValuesService().resolve("witcher.schools", this, faker);
    }
    
    public String location() {
        return faker.fakeValuesService().resolve("witcher.locations", this, faker);
    }
    
    public String quote() {
        return faker.fakeValuesService().resolve("witcher.quotes", this, faker);
    }
    
    public String monster() {
        return faker.fakeValuesService().resolve("witcher.monsters", this, faker);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy