GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - davidemdot/java-etherpad-lite: An Etherpad Lite client for Java

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

81 Commits
81 Commits

Folders and files

NameName
Last commit message
Last commit date
doc
doc
 
 
src
src
 
 
.classpath
.classpath
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
CHANGELOG
CHANGELOG
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

Java Etherpad Lite Client

Build Status Coverage Status

A Java client for Etherpad Lite’s HTTP JSON API. Etherpad Lite is a collaborative editor provided by the Etherpad Foundation.

See the Etherpad lite project for information on how to install and configure your own Etherpad Lite instance, and read the Etherpad documentation for an in-depth description of Etherpad Lite’s HTTP API.

DOWNLOAD

The jar file is available in Maven Central.

Add this to your maven pom:

<dependency>
    <groupId>net.gjerull.etherpad</groupId>
    <artifactId>etherpad_lite_client</artifactId>
    <version>1.2.13</version>
</dependency>

DOCUMENTATION

For now, the best documentation is reading through the methods available in the EPLiteClient class The methods are 1:1 with the EPLite API methods.

DEPENDENCIES

Depends on JSON.simple (https://github.com/fangyidong/json-simple).

NOTES

Latest release currently targets Etherpad Lite API v1.2.13. The plan is to keep up with the most recent version of the Etherpad Lite API. (Note that we're talking about API versions here, not release versions).

EXAMPLE

EPLiteClient client = new EPLiteClient("http://localhost:9001", "K8OF91QMQYUvrNu3e9rJ7FnnVgaB3m9q");

// Create pad and set text
client.createPad("my_pad");
client.setText("my_pad", "foo!!");

// Get pad text
String text = client.getText("my_pad").get("text").toString();

// Get list of all pad ids
Map result = client.listAllPads();
List padIds = (List) result.get("padIDs");

INTEGRATION TESTING

Integration testing requires a copy of EtherpadLite running at http://localhost:9001 with an API key of a04f17343b51afaa036a7428171dd873469cd85911ab43be0503d29d2acbbd58

Integration tests are not run using maven test.

About

An Etherpad Lite client for Java

Resources

Readme
License
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.