org.teldap.core.xmlvalidator.unionCatalog.ui.fileCreator
Class FileCollection

java.lang.Object
  extended by org.teldap.core.xmlvalidator.unionCatalog.ui.fileCreator.FileCollection

public class FileCollection
extends java.lang.Object

Copyright 2009 數位典藏與數位學習國家型科技計畫(TELDAP) 數位核心平台計畫

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Title: File Collection

Description: 找目錄下所有*.xml檔案

Version:
1.0
Author:
徐慈妍、洪崇熙、洪國翔

Field Summary
static int maxProcessSize
           
 
Constructor Summary
FileCollection(java.io.File f)
           
 
Method Summary
 void collectFile(java.io.File f)
          找所有目錄下檔案
 void fileFilter()
          file filter:找*.xml檔案
 java.util.ArrayList[] getCollectionFile()
          根據maxProcessSize,將檔案分批
static int getTotalFileCount()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxProcessSize

public static int maxProcessSize
Constructor Detail

FileCollection

public FileCollection(java.io.File f)
Method Detail

fileFilter

public void fileFilter()
file filter:找*.xml檔案


collectFile

public void collectFile(java.io.File f)
找所有目錄下檔案

Parameters:
f - File

getCollectionFile

public java.util.ArrayList[] getCollectionFile()
根據maxProcessSize,將檔案分批


getTotalFileCount

public static int getTotalFileCount()