hudson.plugins.testcomplete.mht
Class MHTEntry

java.lang.Object
  extended by hudson.plugins.testcomplete.mht.MHTEntry

public class MHTEntry
extends Object

Class to parse header of an MHT entry. Sample header of an entry produced by TestComplete:

 
 Content-Type: image/gif
 Content-Transfer-Encoding: base64
 Content-Location: http://localhost/init_c4050f0f.gif
 
 

Author:
Fernando Miguélez Palomo

Constructor Summary
protected MHTEntry(String name, String contentType)
           
 
Method Summary
 String getContentType()
          Returns the content type of this entry.
 String getName()
          Returns the name of this entry, considering it the part of the entry location without the base URL indicated in the header of the MHT file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MHTEntry

protected MHTEntry(String name,
                   String contentType)
Method Detail

getName

public String getName()
Returns the name of this entry, considering it the part of the entry location without the base URL indicated in the header of the MHT file.

Returns:
the name of the entry

getContentType

public String getContentType()
Returns the content type of this entry.

Returns:
the content type of the entry.


Copyright © 2004-2015. All Rights Reserved.