All Downloads are FREE. Search and download functionalities are using the official Maven repository.

skype2disk.Skype2DiskModuleCommons Maven / Gradle / Ivy

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);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy