org.utgenome.gwt.utgb.client.bean
Class DatabaseEntry

java.lang.Object
  extended by org.utgenome.gwt.utgb.client.bean.DatabaseEntry
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class DatabaseEntry
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable


Field Summary
 boolean isFile
           
 String path
           
 
Constructor Summary
DatabaseEntry()
           
 
Method Summary
 String dbPath(String dbName)
          Path to the specified database file in this database folder
 boolean isFile()
           
 boolean isFolder()
           
 String leaf()
           
static String leaf(String databaseFolder)
           
static DatabaseEntry newFile(String dbFile)
           
static DatabaseEntry newFolder(String dbFolder)
           
 DatabaseEntry parent()
           
static String parent(String databaseFolder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

path

public String path

isFile

public boolean isFile
Constructor Detail

DatabaseEntry

public DatabaseEntry()
Method Detail

newFolder

public static DatabaseEntry newFolder(String dbFolder)

newFile

public static DatabaseEntry newFile(String dbFile)

leaf

public String leaf()

parent

public DatabaseEntry parent()

parent

public static String parent(String databaseFolder)

leaf

public static String leaf(String databaseFolder)

dbPath

public String dbPath(String dbName)
Path to the specified database file in this database folder

Parameters:
dbName -
Returns:

isFile

public boolean isFile()

isFolder

public boolean isFolder()


Copyright © 2007-2012 utgenome.org. All Rights Reserved.