Package com.palmergames.bukkit.towny.db

Examples of com.palmergames.bukkit.towny.db.TownyFlatFileSource


    return getDataSource().loadAll();
  }
 
  public void setDataSource(String databaseType) throws UnsupportedOperationException {
    if (databaseType.equalsIgnoreCase("flatfile"))
      setDataSource(new TownyFlatFileSource());
    else if (databaseType.equalsIgnoreCase("flatfile-hmod"))
      setDataSource(new TownyHModFlatFileSource());
    else
      throw new UnsupportedOperationException();
  }
View Full Code Here

TOP

Related Classes of com.palmergames.bukkit.towny.db.TownyFlatFileSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.