Example usage for twitter4j TwitterObjectFactory createUser

List of usage examples for twitter4j TwitterObjectFactory createUser

Introduction

In this page you can find the example usage for twitter4j TwitterObjectFactory createUser.

Prototype

public static User createUser(String rawJSON) throws TwitterException 

Source Link

Document

Constructs a User object from rawJSON string.

Usage

From source file:net.lacolaco.smileessence.util.TwitterMock.java

License:Open Source License

public User getUserMock() throws IOException, TwitterException {
    return TwitterObjectFactory.createUser(getJson("user.json"));
}