bundles/org.eclipse.packagedrone.utils.rpm/src/org/eclipse/packagedrone/utils/rpm/header/Header.java
public HeaderEntry[] makeEntries ( Charset charset )
    {
        if ( charset == null )
        {
            throw new IllegalArgumentException ( "'charset' cannot be null" );
        }
        Header.charset = charset;
        return this.entries.entrySet ().stream ().map ( Header::makeEntry ).toArray ( num -> new HeaderEntry[num] );
    }
public HeaderEntry[] makeEntries ( Charset charset )
    {
        if ( charset == null )
        {
            throw new IllegalArgumentException ( "'charset' cannot be null" );
        }
        Header.charset = charset;
        return this.entries.entrySet ().stream ().map ( Header::makeEntry ).toArray ( num -> new HeaderEntry[num] );
    }
public HeaderEntry [ ] makeEntries ( Charset charset ) { if ( charset == null ) { throw new IllegalArgumentException ( "'charset' cannot be null" ) ; } Header . charset = charset ; return this . entries . entrySet ( ) . stream ( ) . map ( Header :: makeEntry ) . toArray ( num -> new HeaderEntry [ num ] ) ; }
Make an array of header entries with given charset
<p>
<strong>Note:</strong> Further updates on this instance will not update
the returned array. This is actually a copy of the current state.
</p>

@param charset the charset of choice
@return a new array of all header entries, unsorted
Make an array of header entries with given charset <p > <strong > Note : < / strong > Further updates on this instance will not update the returned array . This is actually a copy of the current state . < / p >