Created
July 8, 2011 19:03
-
-
Save sritchie/1072541 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SplitDataChunkPailStructure extends DataChunkPailStructure { | |
@Override | |
public List<String> getTarget(DataChunk t) { | |
List<String> ret = new ArrayList<String>(); | |
ret.add(t.getDataset()); | |
ret.add(t.getTemporalRes()); | |
return ret; | |
} | |
@Override | |
public boolean isValidTarget(String[] dirs) { | |
if(dirs.length==0) return false; | |
return true; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment