Skip to content
/ suber Public

A Java serialization/deserialization library that can convert Java Objects into Subtitle formats and back.

Notifications You must be signed in to change notification settings

TuMoH/suber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

suber

A Java serialization/deserialization library that can convert Java Objects into Subtitle formats (for example: *.srt, *.ass) and back.

Using Suber

  1. To start using Suber, add the jar to your project or use gradle dependencies:
repositories {
  ...
  maven { url "https://jitpack.io" }
}
dependencies {
  compile 'com.github.TuMoH:suber:1.2.1'
}
  1. Create a static import to Suber in your code like this:
import static com.timursoft.suber.Suber.suber;
  1. Now you can access Suber in your code like this:
SubFileObject sfo = suber().parse(subFile);
...
suber().serialize(sfo, newSubFile);

Easy!

##License

Copyright (C) 2016 Gasymov Timur

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

A Java serialization/deserialization library that can convert Java Objects into Subtitle formats and back.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages