< prev index next >
jaxws/src/java.xml.ws/share/classes/javax/xml/soap/AttachmentPart.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 24,34 ****
*/
package javax.xml.soap;
import java.io.InputStream;
- import java.io.Reader;
import java.util.Iterator;
import javax.activation.DataHandler;
/**
--- 24,33 ----
*** 497,518 ****
* as an iterator over the {@code MimeHeader} objects.
*
* @return an {@code Iterator} object with all of the Mime
* headers for this {@code AttachmentPart} object
*/
! public abstract Iterator getAllMimeHeaders();
/**
* Retrieves all {@code MimeHeader} objects that match a name in
* the given array.
*
* @param names a {@code String} array with the name(s) of the
* MIME headers to be returned
* @return all of the MIME headers that match one of the names in the
* given array as an {@code Iterator} object
*/
! public abstract Iterator getMatchingMimeHeaders(String[] names);
/**
* Retrieves all {@code MimeHeader} objects whose name does
* not match a name in the given array.
*
--- 496,517 ----
* as an iterator over the {@code MimeHeader} objects.
*
* @return an {@code Iterator} object with all of the Mime
* headers for this {@code AttachmentPart} object
*/
! public abstract Iterator<MimeHeader> getAllMimeHeaders();
/**
* Retrieves all {@code MimeHeader} objects that match a name in
* the given array.
*
* @param names a {@code String} array with the name(s) of the
* MIME headers to be returned
* @return all of the MIME headers that match one of the names in the
* given array as an {@code Iterator} object
*/
! public abstract Iterator<MimeHeader> getMatchingMimeHeaders(String[] names);
/**
* Retrieves all {@code MimeHeader} objects whose name does
* not match a name in the given array.
*
*** 521,527 ****
* @return all of the MIME headers in this {@code AttachmentPart} object
* except those that match one of the names in the
* given array. The nonmatching MIME headers are returned as an
* {@code Iterator} object.
*/
! public abstract Iterator getNonMatchingMimeHeaders(String[] names);
}
--- 520,526 ----
* @return all of the MIME headers in this {@code AttachmentPart} object
* except those that match one of the names in the
* given array. The nonmatching MIME headers are returned as an
* {@code Iterator} object.
*/
! public abstract Iterator<MimeHeader> getNonMatchingMimeHeaders(String[] names);
}
< prev index next >