-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChunkFolderPattern.java
More file actions
38 lines (31 loc) · 870 Bytes
/
ChunkFolderPattern.java
File metadata and controls
38 lines (31 loc) · 870 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package net.minecraft.src;
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) braces deadcode
import java.io.File;
import java.io.FileFilter;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
class ChunkFolderPattern
implements FileFilter
{
private ChunkFolderPattern()
{
}
public boolean accept(File file)
{
if(file.isDirectory())
{
Matcher matcher = field_22392_a.matcher(file.getName());
return matcher.matches();
} else
{
return false;
}
}
ChunkFolderPattern(Empty2 empty2)
{
this();
}
public static final Pattern field_22392_a = Pattern.compile("[0-9a-z]|([0-9a-z][0-9a-z])");
}