skype2disk.Skype2DiskModuleCommons Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of skype2gmail Show documentation
Show all versions of skype2gmail Show documentation
Send skype chat history to a gmail account
The newest version!
package skype2disk;
import skype.Skype2StorageModuleCommons;
import skype.SkypeStorage;
import com.google.inject.Scopes;
public class Skype2DiskModuleCommons extends Skype2StorageModuleCommons {
private final String[] args;
public Skype2DiskModuleCommons(String[] args)
{
this.args = args;
}
@Override
protected void configure() {
super.configure();
bind(SkypeStorage.class).to(FileSystemStorage.class).in(Scopes.SINGLETON);
bind(HistoryDir.class).to(CustomHistoryDir.class);
bind(FileDumpContentParser.class).to(FileDumpContentParserImpl.class);
bind(String[].class).toInstance(args);
}
}