mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-21 07:46:55 +00:00
+3 depth dir finding for objects
This commit is contained in:
1 parent
bff242dc99
commit
ab89d6a22f
4 files changed
+13
-11
No files matched your search
@@ -1,6 +0,0 @@
|
||||
package com.volmit.iris.util;
|
||||
|
||||
public class ObjectConverter
|
||||
{
|
||||
|
||||
}
|
||||
@@ -127,6 +127,17 @@ public class ObjectResourceLoader extends ResourceLoader<IrisObject>
|
||||
{
|
||||
m.add(j.getName() + "/" + k.getName().replaceAll("\\Q.iob\\E", ""));
|
||||
}
|
||||
|
||||
else if(k.isDirectory())
|
||||
{
|
||||
for(File l : k.listFiles())
|
||||
{
|
||||
if(l.isFile() && l.getName().endsWith(".iob"))
|
||||
{
|
||||
m.add(j.getName() + "/" + k.getName() + "/" + l.getName().replaceAll("\\Q.iob\\E", ""));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user