Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /* ************************************************************************
 #
 #  DivConq
 #
 #  http://divconq.com/
 #
 #  Copyright:
 #    Copyright 2014 eTimeline, LLC. All rights reserved.
 #
#  License:
#    See the license.txt file in the project's top-level directory for details.
#  Authors:
#    * Andy White
************************************************************************ */
package divconq.interchange;
public interface IFileStoreFile {
	void setName(String v);
	void setPath(String v);
	long getSize();
	boolean isFolder();
	void isFolder(boolean b);
	boolean exists();
	// TODO use DataStreamChannel instead
	//void copyTo(OutputStream out, OperationCallback callback);
	void hash(String methodFuncCallback<Stringcallback);
	// TODO use DataStreamChannel instead
	//void getInputStream(FuncCallback<InputStream> callback);
	void rename(String nameOperationCallback callback);
	void remove(OperationCallback callback);
	void getAttribute(String nameFuncCallback<Structcallback);
	void setAttribute(String nameStruct valueOperationCallback callback);
	// scripts
	public void operation(final StackEntry stackXElement code);
	// remote
	void openRead(DataStreamChannel channelFuncCallback<RecordStructcallback);
New to GrepCode? Check out our FAQ X