Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package de.ipk_gatersleben.bit.bi.edal.publication.metadata;
 
 
 
public class FileStoreSwingWorker extends SwingWorker<ObjectObject> {
	private Path file;
	public FileStoreSwingWorker(JProgressBar fileProgressbarPath file,
			ClientPrimaryDataFile clientPrimaryDataFile) {
		this. = clientPrimaryDataFile;
		this. = file;
		this. = fileProgressbar;
	}
	protected Object doInBackground() throws Exception {
		try {
			FileProgressInputStream progressInputStream = new FileProgressInputStream(
							this..toFile()));
			.store(progressInputStream);
			progressInputStream.close();
catch (Exception e) {
		}
		return null;
	}
	protected void done() {
	}
New to GrepCode? Check out our FAQ X