@Nonnull @ReturnsMutableCopy protected final ICommonsOrderedSet <String> getAllDeniedExtensions () { return m_aDeniedExtensions.getClone (); }
@Nonnull @ReturnsMutableCopy protected final ICommonsOrderedSet <String> getAllAllowedExtensions () { return m_aAllowedExtensions.getClone (); }
@Nonnull @ReturnsMutableCopy public ICommonsOrderedSet <String> getAllAllowedExtensions () { return m_aValidationAllowedExtensions.getClone (); }
@Nonnull @ReturnsMutableCopy protected final ICommonsOrderedSet <String> getAllDeniedRegExs () { return m_aDeniedRegExs.getClone (); }
@Nonnull @ReturnsMutableCopy public ICommonsOrderedSet <IMimeType> getAllAcceptFiles () { return m_aValidationAcceptFiles.getClone (); }
@Nonnull @ReturnsMutableCopy public ICommonsOrderedSet <String> getAllGlobs () { return m_aGlobs.getClone (); }
@Nonnull @ReturnsMutableCopy protected final ICommonsOrderedSet <String> getAllDeniedFilenames () { return m_aDeniedFilenames.getClone (); }
@Nonnull @ReturnsMutableCopy public ICommonsOrderedSet <String> getAllAllowedExtensions () { return m_aValidationAllowedExtensions.getClone (); }
@Nonnull @ReturnsMutableCopy public ICommonsOrderedSet <String> getAllParentTypes () { return m_aParentTypes.getClone (); }
@Nonnull @ReturnsMutableCopy public ICommonsOrderedSet <ExtensionWithSource> getAllExtensionsWithSource () { return m_aExtensions.getClone (); }
@Nonnull @ReturnsMutableCopy public ICommonsOrderedSet <String> getAllRequiredHeaders () { return m_aRequiredHeaders.getClone (); }
@Nonnull @ReturnsMutableCopy public ICommonsOrderedSet <String> getAllRequiredParams () { return m_aRequiredParams.getClone (); }
@Nonnull @ReturnsMutableCopy protected final ICommonsOrderedSet <String> getAllAllowedFilenames () { return m_aAllowedFilenames.getClone (); }
@Nonnull @ReturnsMutableCopy protected final ICommonsOrderedSet <String> getAllAllowedRegExs () { return m_aAllowedRegExs.getClone (); }
@Nonnull @ReturnsMutableCopy public ICommonsOrderedSet <ECSSMedium> getAllMedia () { return m_aMedia.getClone (); }
public MimeTypeInfo (@Nonnull @Nonempty final ICommonsOrderedSet <MimeTypeWithSource> aMimeTypes, @Nullable final String sComment, @Nonnull final ICommonsOrderedSet <String> aParentTypes, @Nonnull final ICommonsOrderedSet <String> aGlobs, @Nonnull final ICommonsOrderedSet <ExtensionWithSource> aExtensions, @Nullable final String sSource) { ValueEnforcer.notEmptyNoNullValue (aMimeTypes, "MimeTypes"); ValueEnforcer.notNull (aParentTypes, "ParentTypes"); ValueEnforcer.notNull (aGlobs, "Globs"); ValueEnforcer.notNull (aExtensions, "Extensions"); m_aMimeTypes = aMimeTypes.getClone (); m_sComment = sComment; m_aParentTypes = aParentTypes.getClone (); m_aGlobs = aGlobs.getClone (); m_aExtensions = aExtensions.getClone (); m_sSource = sSource; }
@Nonnull @Nonempty @ReturnsMutableCopy public ICommonsSet <MimeTypeWithSource> getAllMimeTypesWithSource () { return m_aMimeTypes.getClone (); }
/** * @return An ordered set with all contained font resources. Never * <code>null</code> but maybe empty. */ @Nonnull @ReturnsMutableCopy public static ICommonsOrderedSet <IFontResource> getAllResources () { return s_aRWLock.readLocked ( () -> s_aItems.getClone ()); }