C# 클래스 SobekCM.Resource_Object.Utilities.SobekCM_METS_Validator

Validates a METS file with SobekCM METS file standards
Object created by Ying Tang and Mark V Sullivan (2006) for University of Florida's Digital Library Center.
파일 보기 프로젝트 열기: MarkVSullivan/SobekCM-Web-Application

공개 메소드들

메소드 설명
Check_Files ( string dirName, bool matchCheckSums ) : bool

Check if specified file exists in the search directory

METS_Existence_Check ( string dirName ) : bool

Check if mets file exists for a SobekCM package.

METS_Update_Only_Check ( string newMetsFile, string oldMetsFile ) : bool

Compare only the file group section between the new mets file and the old mets file. Use the string comparision method to determine if the file group sections have the same contents after removing all white spaces.

SobekCM_METS_Validator ( ) : System

Constructor for a new instance of the SobekCM_METS_Validator class

SobekCM_METS_Validator ( SobekCM_Item thisPackage ) : System

Constructor for a new instance of the SobekCM_METS_Validator class

SobekCM_METS_Validator ( string iconBaseUrl ) : System

Constructor for a new instance of the SobekCM_METS_Validator class

SobekCM_Standard_Check ( SobekCM_Item bibPackagetoCheck, string packageDir ) : bool

Check the Bibliographic package agaist the SobekCM METS standard

비공개 메소드들

메소드 설명
IsValidIconImage ( string iconUrl ) : bool

Private method used to check if a icon file is a valid file

메소드 상세

Check_Files() 공개 메소드

Check if specified file exists in the search directory
public Check_Files ( string dirName, bool matchCheckSums ) : bool
dirName string Directory name
matchCheckSums bool Should there be checksum matching?
리턴 bool

METS_Existence_Check() 공개 메소드

Check if mets file exists for a SobekCM package.
public METS_Existence_Check ( string dirName ) : bool
dirName string Directory name
리턴 bool

METS_Update_Only_Check() 공개 메소드

Compare only the file group section between the new mets file and the old mets file. Use the string comparision method to determine if the file group sections have the same contents after removing all white spaces.
public METS_Update_Only_Check ( string newMetsFile, string oldMetsFile ) : bool
newMetsFile string New METS file (METADATA_UPDATE)
oldMetsFile string Existing METS file
리턴 bool

SobekCM_METS_Validator() 공개 메소드

Constructor for a new instance of the SobekCM_METS_Validator class
public SobekCM_METS_Validator ( ) : System
리턴 System

SobekCM_METS_Validator() 공개 메소드

Constructor for a new instance of the SobekCM_METS_Validator class
public SobekCM_METS_Validator ( SobekCM_Item thisPackage ) : System
thisPackage SobekCM_Item Bibliographic package to validate
리턴 System

SobekCM_METS_Validator() 공개 메소드

Constructor for a new instance of the SobekCM_METS_Validator class
public SobekCM_METS_Validator ( string iconBaseUrl ) : System
iconBaseUrl string Base URL to validate
리턴 System

SobekCM_Standard_Check() 공개 메소드

Check the Bibliographic package agaist the SobekCM METS standard
public SobekCM_Standard_Check ( SobekCM_Item bibPackagetoCheck, string packageDir ) : bool
bibPackagetoCheck SobekCM_Item Package to validate
packageDir string Directory for the package
리턴 bool