Friday, January 4, 2008

Creating a simple domain(bean) class

import java.io.File;

public class BatchingFile {
private String name;
private String folder;
private String path;

public BatchingFile(File file) {
setName(file.getName());
setFolder(file.getParent());
setPath(file.getAbsolutePath());
}

public String getFolder() {
return folder;
}

public void setFolder(String folder) {
this.folder = folder;
}

public String getName() {
return name;
}

public void setName(String name) {
this.name = name;
}

public String getPath() {
return path;
}

public void setPath(String path) {
this.path = path;
}
}


Thanks to the progress and development of web hosting and website design as well as everything else related to internet, now there is a great business opportunity in the form of seo.

1 comment:

Unknown said...

nice....

thanks,
www.pinoyopensourcecodes.com

Favorite Feeds