コード例 #1
0
 @Override
 public SearchContext startSearch(
     SrvSession sess, TreeConnection tree, String searchPath, int attrib)
     throws FileNotFoundException {
   FileFilterMode.setClient(ClientHelper.getClient(sess));
   try {
     SearchContext context = diskInterface.startSearch(sess, tree, searchPath, attrib);
     return context;
   } finally {
     FileFilterMode.clearClient();
   }
 }
コード例 #2
0
 @Override
 public SearchContext startSearch(
     SrvSession sess, TreeConnection tree, String searchPath, int attrib)
     throws FileNotFoundException {
   return diskInterface.startSearch(sess, tree, searchPath, attrib);
 }