@Override public void validate(String fileName, boolean validateFileExtension, InputStream is) throws PortalException { validate(fileName, validateFileExtension); DLValidatorUtil.validateFileSize(fileName, is); }
@Override public void validate( String fileName, String fileExtension, String sourceFileName, boolean validateFileExtension, File file) throws PortalException { validate(fileName, fileExtension, sourceFileName, validateFileExtension); DLValidatorUtil.validateFileSize(fileName, file); }