package cell;
import java.io.*;
public class Profile
{
private static String application;
private static String entity;
static File rooted(String name)
{
File f = new File(System.getProperty("user.home") );
f = new File(f, application);
if (entity != null)
f = new File(f, entity);
if (name != null)
f = new File(f, name);
return f;
}
public static void setEntity(String v)
{
entity = v;
rooted(null).mkdirs();
}
public static void setApplication(String value)
{
application = value;
setEntity(null);
}
}