}
public static Inode getInode(String x, Class c) {
if( c.equals(Identifier.class)){
throw new DotStateException("Identifiers are no longer Inodes!");
}else if( c.equals(Folder.class)){
throw new DotStateException("You should use the FolderAPI to get folder information");
}else if(c.equals(Inode.class)){
Logger.debug(InodeFactory.class, "You should not send Inode.class to getInode. Send the extending class instead (inode:" + x + ")" );
//Thread.dumpStack();
DotConnect dc = new DotConnect();
dc.setSQL("select type from inode where inode = ?");