Mercurial > hg > blitz_condensed
comparison src/org/dancres/blitz/entry/StorageFactory.java @ 0:3dc0c5604566
Initial checkin of blitz 2.0 fcs - no installer yet.
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Sat, 21 Mar 2009 11:00:06 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3dc0c5604566 |
---|---|
1 package org.dancres.blitz.entry; | |
2 | |
3 class StorageFactory { | |
4 static Storage getStorage(String aType) { | |
5 if (aType.equals(EntryRepository.ROOT_TYPE)) | |
6 return new RootStorage(); | |
7 else | |
8 return new EntryStorage(aType); | |
9 } | |
10 } |