Coder Social home page Coder Social logo

javafakedata's Introduction

javafakedata假数据生成器

A library for generating fake data such as names, addresses,phone numbers,ipv4,ipv6,email,url

jar包,用于生成假数据,例如人名,地址,手机号,ipv4,ipv6,邮箱,url

安装教程

要使用 javafakedata,你需要安装 Java 环境,然后下载 javafakedata 的 jar 包,然后将其添加到你的 classpath 中。

jar包存放路径:

maven-repository\com\jimmywan\javafakedata\0.0.1-SNAPSHOT

示例Demo

        String usName = FakeString.getUsLastName();
        System.out.println(usName);

        String string = FakeString.getFirstName();
        System.out.println(string);

        String string = FakeString.getLastName();
        System.out.println(string);

        String string = FakeString.getEmail();
        System.out.println(string);

        String string = FakeString.getTelPhoneNumber();
        System.out.println(string);

        String string = FakeString.getInternetURL();
        System.out.println(string);

        String string = FakeString.getTencentQQCode();
        System.out.println(string);

        String string = FakeString.getPostcode_us();
        System.out.println(string);

        String string = FakeString.getPostcode_cn();
        System.out.println(string);

        String string = FakeString.getIpv4();
        System.out.println(string);

        String string = FakeString.getIpv6();
        System.out.println(string);

Author

👤 Jimmy Wan

Twitter: @kalaka914

Github: @JimmyWan2022

Show your support

Buy Me A Coffee

Please ⭐️ this repository if this project helped you!

📝 License

Copyright © 2022 Jimmy Wan.
This project is MIT licensed.


javafakedata's People

Contributors

jimmywan2022 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.