예제 #1
0
 public void setHeader(String name, String value) {
   if (name == null || value == null) {
     return;
   }
   removeHeader(name);
   addHeader(name, value);
 }
예제 #2
0
 @Override
 public void addHeader(String name, String value) throws UnavailableStorageException {
   mHeader.addHeader(name, value);
 }
 @Override
 public void addHeader(String name, String value) throws MessagingException {
   mHeader.addHeader(name, value);
 }