| Package | Description |
|---|---|
| com.sun.mail.dsn |
Support for creating and parsing Delivery Status Notifications.
|
| com.sun.mail.gimap |
An EXPERIMENTAL IMAP protocol provider that supports the Gmail-specific
protocol extensions.
|
| com.sun.mail.imap |
An IMAP protocol provider for the JavaMail API
that provides access to an IMAP message store.
|
| com.sun.mail.pop3 |
A POP3 protocol provider for the JavaMail API
that provides access to a POP3 message store.
|
| com.sun.mail.smtp |
An SMTP protocol provider for the JavaMail API
that provides access to an SMTP server.
|
| com.sun.mail.util |
Utility classes for use with the JavaMail API.
|
| javax.mail |
The JavaMailTM API
provides classes that model a mail system.
|
| javax.mail.internet |
Classes specific to Internet mail systems.
|
| javax.mail.search |
Message search terms for the JavaMail API.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MultipartReport.addBodyPart(BodyPart part)
Adds a Part to the multipart.
|
void |
MultipartReport.addBodyPart(BodyPart part,
int index)
Adds a BodyPart at position
index . |
DeliveryStatus |
MultipartReport.getDeliveryStatus()
Deprecated.
use getReport instead
|
Report |
MultipartReport.getReport()
Get the report associated with this multipart/report.
|
MimeMessage |
MultipartReport.getReturnedMessage()
Get the original message that is being returned along with this
multipart/report.
|
String |
MultipartReport.getText()
Get the plain text to be presented to the user, if there is any.
|
MimeBodyPart |
MultipartReport.getTextBodyPart()
Return the body part containing the message to be presented to
the user, usually just a text/plain part.
|
boolean |
MultipartReport.removeBodyPart(BodyPart part)
Remove the specified part from the multipart message.
|
void |
MultipartReport.removeBodyPart(int index)
Remove the part at specified location (starting from 0).
|
void |
MessageHeaders.setDataHandler(DataHandler dh)
Can't set any content for a MessageHeaders object.
|
void |
MultipartReport.setDeliveryStatus(DeliveryStatus status)
Deprecated.
use setReport instead
|
void |
MultipartReport.setReport(Report report)
Set the report associated with this multipart/report.
|
void |
MultipartReport.setReturnedMessage(MimeMessage msg)
Set the original message to be returned as part of the
multipart/report.
|
void |
MultipartReport.setSubType(String subtype)
Set the subtype.
|
void |
MultipartReport.setText(String text)
Set the message to be presented to the user as just a text/plain
part containing the specified text.
|
void |
MultipartReport.setTextBodyPart(MimeBodyPart mbp)
Set the body part containing the text to be presented to the
user.
|
| Constructor and Description |
|---|
DeliveryStatus()
Construct a delivery status notification with no content.
|
DeliveryStatus(InputStream is)
Construct a delivery status notification by parsing the
supplied input stream.
|
DispositionNotification()
Construct a disposition notification with no content.
|
DispositionNotification(InputStream is)
Construct a disposition notification by parsing the
supplied input stream.
|
MessageHeaders()
Construct a MessageHeaders object.
|
MessageHeaders(InputStream is)
Constructs a MessageHeaders object from the given InputStream.
|
MessageHeaders(InternetHeaders headers)
Constructs a MessageHeaders object using the given InternetHeaders.
|
MultipartReport()
Construct a multipart/report object with no content.
|
MultipartReport(DataSource ds)
Constructs a MultipartReport object and its bodyparts from the
given DataSource.
|
MultipartReport(String text,
Report report)
Construct a multipart/report object with the specified plain
text and report type (DeliveryStatus or DispositionNotification)
to be returned to the user.
|
MultipartReport(String text,
Report report,
InternetHeaders hdr)
Construct a multipart/report object with the specified plain
text, report, and headers from the original message
to be returned to the user.
|
MultipartReport(String text,
Report report,
MimeMessage msg)
Construct a multipart/report object with the specified plain
text, report, and original message to be returned to the user.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
GmailMessage.getLabels()
Return the Gmail labels assocaited with this message.
|
long |
GmailMessage.getMsgId()
Return the Gmail unique message ID.
|
long |
GmailMessage.getThrId()
Return the Gmail unique thread ID.
|
protected boolean |
GmailStore.protocolConnect(String host,
int pport,
String user,
String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
IMAPFolder.addACL(ACL acl)
Add an access control list entry to the access control list
for this folder.
|
void |
IMAPMessage.addFrom(Address[] addresses) |
void |
IMAPMessage.addHeader(String name,
String value) |
void |
IMAPMessage.addHeaderLine(String line) |
Message[] |
IMAPFolder.addMessages(Message[] msgs)
Append the given messages into this folder.
|
void |
IMAPMessage.addRecipients(Message.RecipientType type,
Address[] addresses) |
void |
IMAPFolder.addRights(ACL acl)
Add the rights specified in the ACL to the entry for the
identifier specified in the ACL.
|
void |
IMAPFolder.appendMessages(Message[] msgs)
Append the given messages into this folder.
|
AppendUID[] |
IMAPFolder.appendUIDMessages(Message[] msgs)
Append the given messages into this folder.
|
protected void |
IMAPFolder.checkExists() |
protected void |
IMAPFolder.checkRange(int msgno) |
void |
IMAPStore.close()
Close this Store.
|
void |
IMAPFolder.close(boolean expunge)
Close this folder.
|
void |
IMAPFolder.copyMessages(Message[] msgs,
Folder folder)
Copy the specified messages from this folder, to the
specified destination.
|
boolean |
IMAPFolder.create(int type)
Create this folder, with the specified type.
|
boolean |
IMAPFolder.delete(boolean recurse)
Delete this folder.
|
Object |
IMAPFolder.doCommand(IMAPFolder.ProtocolCommand cmd)
Execute a user-supplied IMAP command.
|
Object |
IMAPFolder.doCommandIgnoreFailure(IMAPFolder.ProtocolCommand cmd) |
Object |
IMAPFolder.doOptionalCommand(String err,
IMAPFolder.ProtocolCommand cmd) |
boolean |
IMAPFolder.exists()
Check whether this folder really exists on the server.
|
Message[] |
IMAPFolder.expunge()
Expunge all messages marked as DELETED.
|
Message[] |
IMAPFolder.expunge(Message[] msgs)
Expunge the indicated messages, which must have been marked as DELETED.
|
void |
IMAPFolder.fetch(Message[] msgs,
FetchProfile fp)
Prefetch attributes, based on the given FetchProfile.
|
protected Object |
IMAPMessage.fetchItem(FetchItem fitem)
Fetch an individual item for the current message.
|
void |
IMAPFolder.forceClose()
Close this folder without waiting for the server.
|
ACL[] |
IMAPFolder.getACL()
Get the access control list entries for this folder.
|
Enumeration |
IMAPMessage.getAllHeaderLines()
Get all header-lines.
|
Enumeration |
IMAPMessage.getAllHeaders()
Get all headers.
|
String[] |
IMAPFolder.getAttributes()
Get the attributes that the IMAP server returns with the
LIST response.
|
String |
IMAPMessage.getContentID()
Get the Content-ID.
|
String[] |
IMAPMessage.getContentLanguage()
Get the content language.
|
String |
IMAPMessage.getContentMD5()
Get the Content-MD5.
|
protected InputStream |
IMAPMessage.getContentStream()
Get all the bytes for this message.
|
String |
IMAPMessage.getContentType()
Get the Content-Type.
|
DataHandler |
IMAPMessage.getDataHandler()
Get the DataHandler object for this message.
|
Folder |
IMAPStore.getDefaultFolder()
Get the default folder, representing the root of this user's
namespace.
|
int |
IMAPFolder.getDeletedMessageCount()
Get the deleted message count.
|
String |
IMAPMessage.getDescription()
Get the decoded Content-Description.
|
String |
IMAPMessage.getDisposition()
Get the Content-Disposition.
|
String |
IMAPMessage.getEncoding()
Get the Content-Transfer-Encoding.
|
String |
IMAPMessage.getFileName()
Get the "filename" Disposition parameter.
|
Flags |
IMAPMessage.getFlags()
Get the Flags for this message.
|
Folder |
IMAPStore.getFolder(String name)
Get named folder.
|
Folder |
IMAPFolder.getFolder(String name)
Get the named subfolder.
|
Folder |
IMAPStore.getFolder(URLName url)
Get named folder.
|
Address[] |
IMAPMessage.getFrom()
Get the "From" attribute.
|
String[] |
IMAPMessage.getHeader(String name)
Get the named header.
|
String |
IMAPMessage.getHeader(String name,
String delimiter)
Get the named header.
|
String |
IMAPMessage.getInReplyTo()
Get the In-Reply-To header.
|
Object |
IMAPMessage.getItem(FetchItem fitem)
Return the data associated with the FetchItem.
|
int |
IMAPMessage.getLineCount()
Get the total number of lines.
|
Enumeration |
IMAPMessage.getMatchingHeaderLines(String[] names)
Get all matching header-lines.
|
Enumeration |
IMAPMessage.getMatchingHeaders(String[] names)
Get matching headers.
|
Message |
IMAPFolder.getMessage(int msgnum)
Get the specified message.
|
Message |
IMAPFolder.getMessageByUID(long uid)
Get the Message corresponding to the given UID.
|
int |
IMAPFolder.getMessageCount()
Get the total message count.
|
String |
IMAPMessage.getMessageID()
Get the Message-ID.
|
Message[] |
IMAPFolder.getMessagesByUID(long[] uids)
Get the Messages specified by the given array.
|
Message[] |
IMAPFolder.getMessagesByUID(long start,
long end)
Get the Messages specified by the given range.
|
InputStream |
IMAPMessage.getMimeStream()
Return the MIME format stream corresponding to this message.
|
int |
IMAPFolder.getNewMessageCount()
Get the new message count.
|
Enumeration |
IMAPMessage.getNonMatchingHeaderLines(String[] names)
Get all non-matching headerlines.
|
Enumeration |
IMAPMessage.getNonMatchingHeaders(String[] names)
Get non-matching headers.
|
Folder |
IMAPFolder.getParent()
Get this folder's parent.
|
Folder[] |
IMAPStore.getPersonalNamespaces()
Using the IMAP NAMESPACE command (RFC 2342), return a set
of folders representing the Personal namespaces.
|
Quota[] |
IMAPFolder.getQuota()
Get the quotas for the quotaroot associated with this
folder.
|
Quota[] |
IMAPStore.getQuota(String root)
Get the quotas for the named quota root.
|
Date |
IMAPMessage.getReceivedDate()
Get the recieved date (INTERNALDATE)
|
Address[] |
IMAPMessage.getRecipients(Message.RecipientType type)
Get the desired Recipient type.
|
Address[] |
IMAPMessage.getReplyTo()
Get the ReplyTo addresses.
|
Address |
IMAPMessage.getSender()
Get the "Sender" attribute.
|
Date |
IMAPMessage.getSentDate()
Get the SentDate.
|
char |
IMAPFolder.getSeparator()
Get the separator character.
|
Folder[] |
IMAPStore.getSharedNamespaces()
Using the IMAP NAMESPACE command (RFC 2342), return a set
of folders representing the Shared namespaces.
|
int |
IMAPMessage.getSize()
Get the message size.
|
Message[] |
IMAPFolder.getSortedMessages(SortTerm[] term)
Sort the messages in the folder according to the sort criteria.
|
Message[] |
IMAPFolder.getSortedMessages(SortTerm[] term,
SearchTerm sterm)
Sort the messages in the folder according to the sort criteria.
|
String |
IMAPMessage.getSubject()
Get the decoded subject.
|
int |
IMAPFolder.getType()
Get the type of this folder.
|
long |
IMAPFolder.getUID(Message message)
Get the UID for the specified message.
|
long |
IMAPFolder.getUIDNext()
Returns the predicted UID that will be assigned to the
next message that is appended to this folder.
|
long |
IMAPFolder.getUIDValidity()
Returns the UIDValidity for this folder.
|
int |
IMAPFolder.getUnreadMessageCount()
Get the unread message count.
|
Folder[] |
IMAPStore.getUserNamespaces(String user)
Using the IMAP NAMESPACE command (RFC 2342), return a set
of folders representing the User's namespaces.
|
protected void |
IMAPMessage.handleExtensionFetchItems(Map extensionItems)
Apply the data in the extension FETCH items to this message.
|
protected boolean |
IMAPMessage.handleFetchItem(Item item,
String[] hdrs,
boolean allHeaders)
Apply the data in the FETCH item to this message.
|
boolean |
IMAPStore.hasCapability(String capability)
Return true if the specified capability string is in the list
of capabilities the server announced.
|
boolean |
IMAPFolder.hasNewMessages()
Check whether this folder has new messages.
|
void |
IMAPStore.idle()
Use the IMAP IDLE command (see
RFC 2177),
if supported by the server, to enter idle mode so that the server
can send unsolicited notifications
without the need for the client to constantly poll the server.
|
void |
IMAPFolder.idle()
Use the IMAP IDLE command (see
RFC 2177),
if supported by the server, to enter idle mode so that the server
can send unsolicited notifications of new messages arriving, etc.
|
void |
IMAPFolder.idle(boolean once)
Like
IMAPFolder.idle() , but if once is true, abort the
IDLE command after the first notification, to allow the caller
to process any notification synchronously. |
boolean |
IMAPMessage.isSet(Flags.Flag flag)
Test if the given Flags are set in this message.
|
Folder[] |
IMAPFolder.list(String pattern)
List all subfolders matching the specified pattern.
|
Rights[] |
IMAPFolder.listRights(String name)
Get all the rights that may be allowed to the given identifier.
|
Folder[] |
IMAPFolder.listSubscribed(String pattern)
List all subscribed subfolders matching the specified pattern.
|
Rights |
IMAPFolder.myRights()
Get the rights allowed to the currently authenticated user.
|
void |
IMAPFolder.open(int mode)
Open this folder in the given mode.
|
protected boolean |
IMAPStore.protocolConnect(String host,
int pport,
String user,
String password)
Implementation of protocolConnect().
|
void |
IMAPFolder.removeACL(String name)
Remove any access control list entry for the given identifier
from the access control list for this folder.
|
void |
IMAPMessage.removeHeader(String name) |
void |
IMAPFolder.removeRights(ACL acl)
Remove the rights specified in the ACL from the entry for the
identifier specified in the ACL.
|
boolean |
IMAPFolder.renameTo(Folder f)
Rename this folder.
|
Message[] |
IMAPFolder.search(SearchTerm term)
Search whole folder for messages matching the given term.
|
Message[] |
IMAPFolder.search(SearchTerm term,
Message[] msgs)
Search the folder for messages matching the given term.
|
void |
IMAPMessage.setContentID(String cid) |
void |
IMAPMessage.setContentLanguage(String[] languages) |
void |
IMAPMessage.setContentMD5(String md5) |
void |
IMAPMessage.setDataHandler(DataHandler content) |
void |
IMAPMessage.setDescription(String description,
String charset) |
void |
IMAPMessage.setDisposition(String disposition) |
void |
IMAPMessage.setFileName(String filename) |
void |
IMAPMessage.setFlags(Flags flag,
boolean set)
Set/Unset the given flags in this message.
|
void |
IMAPFolder.setFlags(int[] msgnums,
Flags flag,
boolean value)
Set the specified flags for the given array of message numbers.
|
void |
IMAPFolder.setFlags(int start,
int end,
Flags flag,
boolean value)
Set the specified flags for the given range of message numbers.
|
void |
IMAPFolder.setFlags(Message[] msgs,
Flags flag,
boolean value)
Set the specified flags for the given array of messages.
|
void |
IMAPMessage.setFrom(Address address) |
void |
IMAPMessage.setHeader(String name,
String value) |
void |
IMAPStore.setQuota(Quota quota)
Set the quotas for the quota root specified in the quota argument.
|
void |
IMAPFolder.setQuota(Quota quota)
Set the quotas for the quotaroot specified in the quota argument.
|
void |
IMAPMessage.setRecipients(Message.RecipientType type,
Address[] addresses) |
void |
IMAPMessage.setReplyTo(Address[] addresses) |
void |
IMAPMessage.setSender(Address address) |
void |
IMAPMessage.setSentDate(Date d) |
void |
IMAPMessage.setSubject(String subject,
String charset) |
void |
IMAPFolder.setSubscribed(boolean subscribe)
Subscribe/Unsubscribe this folder.
|
void |
IMAPMessage.writeTo(OutputStream os)
Write out the bytes into the given OutputStream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
POP3Message.addHeader(String name,
String value)
Add this value to the existing values for this header_name.
|
void |
POP3Message.addHeaderLine(String line)
Add a raw RFC822 header-line.
|
void |
POP3Folder.appendMessages(Message[] msgs)
Always throws
MethodNotSupportedException
because the POP3 protocol doesn't support appending messages. |
Map |
POP3Store.capabilities()
Return a Map of the capabilities the server provided,
as per RFC 2449.
|
void |
POP3Store.close() |
void |
POP3Folder.close(boolean expunge) |
boolean |
POP3Folder.create(int type)
Always returns
false ; the POP3 protocol doesn't
support creating folders. |
protected POP3Message |
POP3Folder.createMessage(Folder f,
int msgno) |
boolean |
POP3Folder.delete(boolean recurse)
Always throws
MethodNotSupportedException
because the POP3 protocol doesn't allow the INBOX to
be deleted. |
Message[] |
POP3Folder.expunge()
Always throws
MethodNotSupportedException
because the POP3 protocol doesn't support expunging messages
without closing the folder; call the close method
with the expunge argument set to true
instead. |
void |
POP3Folder.fetch(Message[] msgs,
FetchProfile fp)
Prefetch information about POP3 messages.
|
Enumeration |
POP3Message.getAllHeaderLines()
Get all header lines as an Enumeration of Strings.
|
Enumeration |
POP3Message.getAllHeaders()
Return all the headers from this Message as an enumeration
of Header objects.
|
protected InputStream |
POP3Message.getContentStream()
Produce the raw bytes of the content.
|
Folder |
POP3Store.getDefaultFolder() |
Folder |
POP3Store.getFolder(String name)
Only the name "INBOX" is supported.
|
Folder |
POP3Folder.getFolder(String name)
Always throws
MessagingException because no POP3 folders
can contain subfolders. |
Folder |
POP3Store.getFolder(URLName url) |
String[] |
POP3Message.getHeader(String name)
Get all the headers for this header_name.
|
String |
POP3Message.getHeader(String name,
String delimiter)
Get all the headers for this header name, returned as a single
String, with headers separated by the delimiter.
|
Enumeration |
POP3Message.getMatchingHeaderLines(String[] names)
Get matching header lines as an Enumeration of Strings.
|
Enumeration |
POP3Message.getMatchingHeaders(String[] names)
Return matching headers from this Message as an Enumeration of
Header objects.
|
Message |
POP3Folder.getMessage(int msgno) |
int |
POP3Folder.getMessageCount()
Will not change while the folder is open because the POP3
protocol doesn't support notification of new messages
arriving in open folders.
|
InputStream |
POP3Message.getMimeStream()
Return the MIME format stream corresponding to this message part.
|
Enumeration |
POP3Message.getNonMatchingHeaderLines(String[] names)
Get non-matching header lines as an Enumeration of Strings.
|
Enumeration |
POP3Message.getNonMatchingHeaders(String[] names)
Return non-matching headers from this Message as an
Enumeration of Header objects.
|
int |
POP3Message.getSize()
Return the size of the content of this message in bytes.
|
int |
POP3Folder.getSize()
Return the size of this folder, as was returned by the POP3 STAT
command when this folder was opened.
|
int[] |
POP3Folder.getSizes()
Return the sizes of all messages in this folder, as returned
by the POP3 LIST command.
|
String |
POP3Folder.getUID(Message msg)
Return the unique ID string for this message, or null if
not available.
|
boolean |
POP3Folder.hasNewMessages()
Always returns
false ; the POP3 protocol provides
no way to determine when a new message arrives. |
Folder[] |
POP3Folder.list(String pattern)
Always throws
MessagingException because no POP3 folders
can contain subfolders. |
InputStream |
POP3Folder.listCommand()
Return the raw results of the POP3 LIST command with no arguments.
|
void |
POP3Folder.open(int mode)
Throws
FolderNotFoundException unless this
folder is named "INBOX". |
protected boolean |
POP3Store.protocolConnect(String host,
int portNum,
String user,
String passwd) |
void |
POP3Message.removeHeader(String name)
Remove all headers with this name.
|
boolean |
POP3Folder.renameTo(Folder f)
Always throws
MethodNotSupportedException
because the POP3 protocol doesn't support multiple folders. |
void |
POP3Message.saveChanges()
POP3 message can't be changed.
|
void |
POP3Message.setFlags(Flags newFlags,
boolean set)
Set the specified flags on this message to the specified value.
|
void |
POP3Message.setHeader(String name,
String value)
Set the value for this header_name.
|
InputStream |
POP3Message.top(int n)
Fetch the header of the message and the first
n lines
of the raw content of the message. |
void |
POP3Message.writeTo(OutputStream os,
String[] ignoreList)
Output the message as an RFC 822 format stream, without
specified headers.
|
| Constructor and Description |
|---|
POP3Message(Folder folder,
int msgno) |
| Modifier and Type | Class and Description |
|---|---|
class |
SMTPAddressFailedException
This exception is thrown when the message cannot be sent.
|
class |
SMTPAddressSucceededException
This exception is chained off a SendFailedException when the
mail.smtp.reportsuccess property is true. |
class |
SMTPSenderFailedException
This exception is thrown when the message cannot be sent.
|
class |
SMTPSendFailedException
This exception is thrown when the message cannot be sent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SMTPTransport.close()
Close the Transport and terminate the connection to the server.
|
void |
SMTPTransport.connect(Socket socket)
Start the SMTP protocol on the given socket, which was already
connected by the caller.
|
protected OutputStream |
SMTPTransport.data()
Send the
DATA command to the SMTP host and return
an OutputStream to which the data is to be written. |
protected boolean |
SMTPTransport.ehlo(String domain)
Issue the
EHLO command. |
protected void |
SMTPTransport.finishData()
Terminate the sent data.
|
protected void |
SMTPTransport.helo(String domain)
Issue the
HELO command. |
void |
SMTPTransport.issueCommand(String cmd,
int expect)
Send the command to the server.
|
protected void |
SMTPTransport.mailFrom()
Issue the
MAIL FROM: command to start sending a message. |
protected boolean |
SMTPTransport.protocolConnect(String host,
int port,
String user,
String passwd)
Performs the actual protocol-specific connection attempt.
|
protected void |
SMTPTransport.rcptTo()
Sends each address to the SMTP host using the
RCPT TO:
command and copies the address either into
the validSentAddr or invalidAddr arrays. |
protected int |
SMTPTransport.readServerResponse()
Reads server reponse returning the
returnCode
as the number. |
boolean |
SMTPTransport.sasllogin(String[] allowed,
String realm,
String authzid,
String u,
String p)
SASL-based login.
|
protected void |
SMTPTransport.sendCommand(String cmd)
Sends command
cmd to the server terminating
it with CRLF . |
void |
SMTPTransport.sendMessage(Message message,
Address[] addresses)
Send the Message to the specified list of addresses.
|
protected int |
SMTPTransport.simpleCommand(byte[] cmd)
Send the command to the server and return the response code
from the server.
|
int |
SMTPTransport.simpleCommand(String cmd)
Send the command to the server and return the response code
from the server.
|
protected void |
SMTPTransport.startTLS()
Issue the
STARTTLS command and switch the socket to
TLS mode if it succeeds. |
| Constructor and Description |
|---|
SMTPMessage(MimeMessage source)
Constructs a new SMTPMessage with content initialized from the
source MimeMessage. |
SMTPMessage(Session session,
InputStream is)
Constructs an SMTPMessage by reading and parsing the data from the
specified MIME InputStream.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
ReadableMime.getMimeStream()
Return the MIME format stream corresponding to this message part.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AuthenticationFailedException
This exception is thrown when the connect method on a Store or
Transport object fails due to an authentication failure (e.g.,
bad user name or password).
|
class |
FolderClosedException
This exception is thrown when a method is invoked on a Messaging object
and the Folder that owns that object has died due to some reason.
|
class |
FolderNotFoundException
This exception is thrown by Folder methods, when those
methods are invoked on a non existent folder.
|
class |
IllegalWriteException
The exception thrown when a write is attempted on a read-only attribute
of any Messaging object.
|
class |
MessageRemovedException
The exception thrown when an invalid method is invoked on an expunged
Message.
|
class |
MethodNotSupportedException
The exception thrown when a method is not supported by the
implementation
|
class |
NoSuchProviderException
This exception is thrown when Session attempts to instantiate a
Provider that doesn't exist.
|
class |
ReadOnlyFolderException
This exception is thrown when an attempt is made to open a folder
read-write access when the folder is marked read-only.
|
class |
SendFailedException
This exception is thrown when the message cannot be sent.
|
class |
StoreClosedException
This exception is thrown when a method is invoked on a Messaging object
and the Store that owns that object has died due to some reason.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Multipart.addBodyPart(BodyPart part)
Adds a Part to the multipart.
|
void |
Multipart.addBodyPart(BodyPart part,
int index)
Adds a BodyPart at position
index . |
abstract void |
Message.addFrom(Address[] addresses)
Add these addresses to the existing "From" attribute
|
void |
Part.addHeader(String header_name,
String header_value)
Add this value to the existing values for this header_name.
|
void |
Message.addRecipient(Message.RecipientType type,
Address address)
Add this recipient address to the existing ones of the given type.
|
abstract void |
Message.addRecipients(Message.RecipientType type,
Address[] addresses)
Add these recipient addresses to the existing ones of the given type.
|
abstract void |
Folder.appendMessages(Message[] msgs)
Append given Messages to this folder.
|
void |
Service.close()
Close this service and terminate its connection.
|
abstract void |
Folder.close(boolean expunge)
Close this Folder.
|
void |
Service.connect()
A generic connect method that takes no parameters.
|
void |
Service.connect(String host,
int port,
String user,
String password)
Similar to connect(host, user, password) except a specific port
can be specified.
|
void |
Service.connect(String user,
String password)
Connect to the current host using the specified username
and password.
|
void |
Service.connect(String host,
String user,
String password)
Connect to the specified address.
|
void |
Folder.copyMessages(Message[] msgs,
Folder folder)
Copy the specified Messages from this Folder into another
Folder.
|
abstract boolean |
Folder.create(int type)
Create this folder on the Store.
|
abstract boolean |
Folder.delete(boolean recurse)
Delete this Folder.
|
abstract boolean |
Folder.exists()
Tests if this folder physically exists on the Store.
|
abstract Message[] |
Folder.expunge()
Expunge (permanently remove) messages marked DELETED.
|
void |
Folder.fetch(Message[] msgs,
FetchProfile fp)
Prefetch the items specified in the FetchProfile for the
given Messages.
|
Enumeration |
Part.getAllHeaders()
Return all the headers from this part as an Enumeration of
Header objects.
|
Address[] |
Message.getAllRecipients()
Get all the recipient addresses for the message.
|
BodyPart |
MultipartDataSource.getBodyPart(int index)
Get the specified Part.
|
BodyPart |
Multipart.getBodyPart(int index)
Get the specified Part.
|
Object |
Part.getContent()
Return the content as a Java object.
|
String |
Part.getContentType()
Returns the Content-Type of the content of this part.
|
int |
Multipart.getCount()
Return the number of enclosed BodyPart objects.
|
DataHandler |
Part.getDataHandler()
Return a DataHandler for the content within this part.
|
abstract Folder |
Store.getDefaultFolder()
Returns a Folder object that represents the 'root' of
the default namespace presented to the user by the Store.
|
int |
Folder.getDeletedMessageCount()
Get the number of deleted messages in this Folder.
|
String |
Part.getDescription()
Return a description String for this part.
|
String |
Part.getDisposition()
Return the disposition of this part.
|
String |
Part.getFileName()
Get the filename associated with this part, if possible.
|
abstract Flags |
Message.getFlags()
Returns a
Flags object containing the flags for
this message. |
abstract Folder |
Store.getFolder(String name)
Return the Folder object corresponding to the given name.
|
abstract Folder |
Folder.getFolder(String name)
Return the Folder object corresponding to the given name.
|
abstract Folder |
Store.getFolder(URLName url)
Return a closed Folder object, corresponding to the given
URLName.
|
Folder |
Session.getFolder(URLName url)
Get a closed Folder object for the given URLName.
|
abstract Address[] |
Message.getFrom()
Returns the "From" attribute.
|
String[] |
Part.getHeader(String header_name)
Get all the headers for this header name.
|
InputStream |
Part.getInputStream()
Return an input stream for this part's "content".
|
int |
Part.getLineCount()
Return the number of lines in the content of this part.
|
Enumeration |
Part.getMatchingHeaders(String[] header_names)
Return matching headers from this part as an Enumeration of
Header objects.
|
abstract Message |
Folder.getMessage(int msgnum)
Get the Message object corresponding to the given message
number.
|
Message |
UIDFolder.getMessageByUID(long uid)
Get the Message corresponding to the given UID.
|
abstract int |
Folder.getMessageCount()
Get total number of messages in this Folder.
|
Message[] |
Folder.getMessages()
Get all Message objects from this Folder.
|
Message[] |
Folder.getMessages(int[] msgnums)
Get the Message objects for message numbers specified in
the array.
|
Message[] |
Folder.getMessages(int start,
int end)
Get the Message objects for message numbers ranging from start
through end, both start and end inclusive.
|
Message[] |
UIDFolder.getMessagesByUID(long[] uids)
Get the Messages specified by the given array of UIDs.
|
Message[] |
UIDFolder.getMessagesByUID(long start,
long end)
Get the Messages specified by the given range.
|
int |
Folder.getNewMessageCount()
Get the number of new messages in this Folder.
|
Enumeration |
Part.getNonMatchingHeaders(String[] header_names)
Return non-matching headers from this envelope as an Enumeration
of Header objects.
|
abstract Folder |
Folder.getParent()
Returns the parent folder of this folder.
|
Folder[] |
Store.getPersonalNamespaces()
Return a set of folders representing the personal namespaces
for the current user.
|
Quota[] |
QuotaAwareStore.getQuota(String folder)
Get the quotas for the named folder.
|
abstract Date |
Message.getReceivedDate()
Get the date this message was received.
|
abstract Address[] |
Message.getRecipients(Message.RecipientType type)
Get all the recipient addresses of the given type.
|
Address[] |
Message.getReplyTo()
Get the addresses to which replies should be directed.
|
abstract Date |
Message.getSentDate()
Get the date this message was sent.
|
abstract char |
Folder.getSeparator()
Return the delimiter character that separates this Folder's pathname
from the names of immediate subfolders.
|
Folder[] |
Store.getSharedNamespaces()
Return a set of folders representing the shared namespaces.
|
int |
Part.getSize()
Return the size of the content of this part in bytes.
|
abstract String |
Message.getSubject()
Get the subject of this message.
|
abstract int |
Folder.getType()
Returns the type of this Folder, that is, whether this folder can hold
messages or subfolders or both.
|
long |
UIDFolder.getUID(Message message)
Get the UID for the specified message.
|
long |
UIDFolder.getUIDValidity()
Returns the UIDValidity value associated with this folder.
|
int |
Folder.getUnreadMessageCount()
Get the total number of unread messages in this Folder.
|
URLName |
Folder.getURLName()
Return a URLName representing this folder.
|
Folder[] |
Store.getUserNamespaces(String user)
Return a set of folders representing the namespaces for
user . |
abstract boolean |
Folder.hasNewMessages()
Returns true if this Folder has new messages since the last time
this indication was reset.
|
boolean |
Part.isMimeType(String mimeType)
Is this Part of the specified MIME type? This method
compares only the
primaryType and
subType . |
boolean |
Message.isSet(Flags.Flag flag)
Check whether the flag specified in the
flag
argument is set in this message. |
Folder[] |
Folder.list()
Convenience method that returns the list of folders under this
Folder.
|
abstract Folder[] |
Folder.list(String pattern)
Returns a list of Folders belonging to this Folder's namespace
that match the specified pattern.
|
Folder[] |
Folder.listSubscribed()
Convenience method that returns the list of subscribed folders
under this Folder.
|
Folder[] |
Folder.listSubscribed(String pattern)
Returns a list of subscribed Folders belonging to this Folder's
namespace that match the specified pattern.
|
boolean |
Message.match(SearchTerm term)
Apply the specified Search criterion to this message.
|
abstract void |
Folder.open(int mode)
Open this Folder.
|
protected boolean |
Service.protocolConnect(String host,
int port,
String user,
String password)
The service implementation should override this method to
perform the actual protocol-specific connection attempt.
|
boolean |
Multipart.removeBodyPart(BodyPart part)
Remove the specified part from the multipart message.
|
void |
Multipart.removeBodyPart(int index)
Remove the part at specified location (starting from 0).
|
void |
Part.removeHeader(String header_name)
Remove all headers with this name.
|
abstract boolean |
Folder.renameTo(Folder f)
Rename this Folder.
|
abstract Message |
Message.reply(boolean replyToAll)
Get a new Message suitable for a reply to this message.
|
abstract void |
Message.saveChanges()
Save any changes made to this message into the message-store
when the containing folder is closed, if the message is contained
in a folder.
|
Message[] |
Folder.search(SearchTerm term)
Search this Folder for messages matching the specified
search criterion.
|
Message[] |
Folder.search(SearchTerm term,
Message[] msgs)
Search the given array of messages for those that match the
specified search criterion.
|
static void |
Transport.send(Message msg)
Send a message.
|
static void |
Transport.send(Message msg,
Address[] addresses)
Send the message to the specified addresses, ignoring any
recipients specified in the message itself.
|
abstract void |
Transport.sendMessage(Message msg,
Address[] addresses)
Send the Message to the specified list of addresses.
|
void |
Part.setContent(Multipart mp)
This method sets the given Multipart object as this message's
content.
|
void |
Part.setContent(Object obj,
String type)
A convenience method for setting this part's content.
|
void |
Part.setDataHandler(DataHandler dh)
This method provides the mechanism to set this part's content.
|
void |
Part.setDescription(String description)
Set a description String for this part.
|
void |
Part.setDisposition(String disposition)
Set the disposition of this part.
|
void |
Part.setFileName(String filename)
Set the filename associated with this part, if possible.
|
void |
Message.setFlag(Flags.Flag flag,
boolean set)
Set the specified flag on this message to the specified value.
|
abstract void |
Message.setFlags(Flags flag,
boolean set)
Set the specified flags on this message to the specified value.
|
void |
Folder.setFlags(int[] msgnums,
Flags flag,
boolean value)
Set the specified flags on the messages whose message numbers
are in the array.
|
void |
Folder.setFlags(int start,
int end,
Flags flag,
boolean value)
Set the specified flags on the messages numbered from start
through end, both start and end inclusive.
|
void |
Folder.setFlags(Message[] msgs,
Flags flag,
boolean value)
Set the specified flags on the messages specified in the array.
|
abstract void |
Message.setFrom()
Set the "From" attribute in this Message.
|
abstract void |
Message.setFrom(Address address)
Set the "From" attribute in this Message.
|
void |
Part.setHeader(String header_name,
String header_value)
Set the value for this header_name.
|
protected void |
Multipart.setMultipartDataSource(MultipartDataSource mp)
Setup this Multipart object from the given MultipartDataSource.
|
void |
QuotaAwareStore.setQuota(Quota quota)
Set the quotas for the quota root specified in the quota argument.
|
void |
Message.setRecipient(Message.RecipientType type,
Address address)
Set the recipient address.
|
abstract void |
Message.setRecipients(Message.RecipientType type,
Address[] addresses)
Set the recipient addresses.
|
void |
Message.setReplyTo(Address[] addresses)
Set the addresses to which replies should be directed.
|
abstract void |
Message.setSentDate(Date date)
Set the sent date of this message.
|
abstract void |
Message.setSubject(String subject)
Set the subject of this message.
|
void |
Folder.setSubscribed(boolean subscribe)
Subscribe or unsubscribe this Folder.
|
void |
Part.setText(String text)
A convenience method that sets the given String as this
part's content with a MIME type of "text/plain".
|
void |
Part.writeTo(OutputStream os)
Output a bytestream for this Part.
|
abstract void |
Multipart.writeTo(OutputStream os)
Output an appropriately encoded bytestream to the given
OutputStream.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AddressException
The exception thrown when a wrongly formatted address is encountered.
|
class |
ParseException
The exception thrown due to an error in parsing RFC822
or MIME headers
|
| Modifier and Type | Method and Description |
|---|---|
void |
MimeMultipart.addBodyPart(BodyPart part)
Adds a Part to the multipart.
|
void |
MimeMultipart.addBodyPart(BodyPart part,
int index)
Adds a BodyPart at position
index . |
void |
MimeMessage.addFrom(Address[] addresses)
Add the specified addresses to the existing "From" field.
|
void |
MimeMessage.addHeader(String name,
String value)
Add this value to the existing values for this header_name.
|
void |
MimeBodyPart.addHeader(String name,
String value)
Add this value to the existing values for this header_name.
|
void |
MimePart.addHeaderLine(String line)
Add a raw RFC822 header-line.
|
void |
MimeMessage.addHeaderLine(String line)
Add a raw RFC 822 header-line.
|
void |
MimeBodyPart.addHeaderLine(String line)
Add a header line to this body part
|
void |
MimeMessage.addRecipients(Message.RecipientType type,
Address[] addresses)
Add the given addresses to the specified recipient type.
|
void |
MimeMessage.addRecipients(Message.RecipientType type,
String addresses)
Add the given addresses to the specified recipient type.
|
void |
MimeBodyPart.attachFile(File file)
Use the specified file to provide the data for this part.
|
void |
MimeBodyPart.attachFile(String file)
Use the specified file to provide the data for this part.
|
protected InternetHeaders |
MimeMultipart.createInternetHeaders(InputStream is)
Create and return an InternetHeaders object that loads the
headers from the given InputStream.
|
protected InternetHeaders |
MimeMessage.createInternetHeaders(InputStream is)
Create and return an InternetHeaders object that loads the
headers from the given InputStream.
|
protected MimeBodyPart |
MimeMultipart.createMimeBodyPart(InputStream is)
Create and return a MimeBodyPart object to represent a
body part parsed from the InputStream.
|
protected MimeBodyPart |
MimeMultipart.createMimeBodyPart(InternetHeaders headers,
byte[] content)
Create and return a MimeBodyPart object to represent a
body part parsed from the InputStream.
|
protected MimeMessage |
MimeMessage.createMimeMessage(Session session)
Create and return a MimeMessage object.
|
static InputStream |
MimeUtility.decode(InputStream is,
String encoding)
Decode the given input stream.
|
static OutputStream |
MimeUtility.encode(OutputStream os,
String encoding)
Wrap an encoder around the given output stream.
|
static OutputStream |
MimeUtility.encode(OutputStream os,
String encoding,
String filename)
Wrap an encoder around the given output stream.
|
Enumeration |
MimePart.getAllHeaderLines()
Get all header lines as an Enumeration of Strings.
|
Enumeration |
MimeMessage.getAllHeaderLines()
Get all header lines as an Enumeration of Strings.
|
Enumeration |
MimeBodyPart.getAllHeaderLines()
Get all header lines as an Enumeration of Strings.
|
Enumeration |
MimeMessage.getAllHeaders()
Return all the headers from this Message as an enumeration
of Header objects.
|
Enumeration |
MimeBodyPart.getAllHeaders()
Return all the headers from this Message as an Enumeration of
Header objects.
|
Address[] |
MimeMessage.getAllRecipients()
Get all the recipient addresses for the message.
|
BodyPart |
MimeMultipart.getBodyPart(int index)
Get the specified BodyPart.
|
BodyPart |
MimeMultipart.getBodyPart(String CID)
Get the MimeBodyPart referred to by the given ContentID (CID).
|
Object |
MimeMessage.getContent()
Return the content as a Java object.
|
Object |
MimeBodyPart.getContent()
Return the content as a Java object.
|
String |
MimePart.getContentID()
Get the Content-ID of this part.
|
String |
MimeMessage.getContentID()
Returns the value of the "Content-ID" header field.
|
String |
MimeBodyPart.getContentID()
Returns the value of the "Content-ID" header field.
|
String[] |
MimePart.getContentLanguage()
Get the language tags specified in the Content-Language header
of this MimePart.
|
String[] |
MimeMessage.getContentLanguage()
Get the languages specified in the "Content-Language" header
field of this message.
|
String[] |
MimeBodyPart.getContentLanguage()
Get the languages specified in the Content-Language header
of this MimePart.
|
String |
MimePart.getContentMD5()
Get the Content-MD5 digest of this part.
|
String |
MimeMessage.getContentMD5()
Return the value of the "Content-MD5" header field.
|
String |
MimeBodyPart.getContentMD5()
Return the value of the "Content-MD5" header field.
|
protected InputStream |
MimeMessage.getContentStream()
Produce the raw bytes of the content.
|
protected InputStream |
MimeBodyPart.getContentStream()
Produce the raw bytes of the content.
|
String |
MimeMessage.getContentType()
Returns the value of the RFC 822 "Content-Type" header field.
|
String |
MimeBodyPart.getContentType()
Returns the value of the RFC 822 "Content-Type" header field.
|
int |
MimeMultipart.getCount()
Return the number of enclosed BodyPart objects.
|
DataHandler |
MimeMessage.getDataHandler()
Return a DataHandler for this Message's content.
|
DataHandler |
MimeBodyPart.getDataHandler()
Return a DataHandler for this body part's content.
|
String |
MimeMessage.getDescription()
Returns the "Content-Description" header field of this Message.
|
String |
MimeBodyPart.getDescription()
Returns the "Content-Description" header field of this body part.
|
String |
MimeMessage.getDisposition()
Returns the value of the "Content-Disposition" header field.
|
String |
MimeBodyPart.getDisposition()
Returns the value of the "Content-Disposition" header field.
|
String |
PreencodedMimeBodyPart.getEncoding()
Returns the content transfer encoding specified when
this object was created.
|
String |
MimePart.getEncoding()
Get the transfer encoding of this part.
|
String |
MimeMessage.getEncoding()
Returns the content transfer encoding from the
"Content-Transfer-Encoding" header
field.
|
String |
MimeBodyPart.getEncoding()
Returns the content transfer encoding from the
"Content-Transfer-Encoding" header
field.
|
String |
MimeMessage.getFileName()
Get the filename associated with this Message.
|
String |
MimeBodyPart.getFileName()
Get the filename associated with this body part.
|
Flags |
MimeMessage.getFlags()
Return a
Flags object containing the flags for
this message. |
Address[] |
MimeMessage.getFrom()
Returns the value of the RFC 822 "From" header fields.
|
String[] |
MimeMessage.getHeader(String name)
Get all the headers for this header_name.
|
String[] |
MimeBodyPart.getHeader(String name)
Get all the headers for this header_name.
|
String |
MimePart.getHeader(String name,
String delimiter)
Get the values of all header fields available for this header,
returned as a single String, with the values separated by the
delimiter.
|
String |
MimeMessage.getHeader(String name,
String delimiter)
Get all the headers for this header name, returned as a single
String, with headers separated by the delimiter.
|
String |
MimeBodyPart.getHeader(String name,
String delimiter)
Get all the headers for this header name, returned as a single
String, with headers separated by the delimiter.
|
InputStream |
MimeMessage.getInputStream()
Return a decoded input stream for this Message's "content".
|
InputStream |
MimeBodyPart.getInputStream()
Return a decoded input stream for this body part's "content".
|
int |
MimeMessage.getLineCount()
Return the number of lines for the content of this message.
|
int |
MimeBodyPart.getLineCount()
Return the number of lines for the content of this Part.
|
Enumeration |
MimePart.getMatchingHeaderLines(String[] names)
Get matching header lines as an Enumeration of Strings.
|
Enumeration |
MimeMessage.getMatchingHeaderLines(String[] names)
Get matching header lines as an Enumeration of Strings.
|
Enumeration |
MimeBodyPart.getMatchingHeaderLines(String[] names)
Get matching header lines as an Enumeration of Strings.
|
Enumeration |
MimeMessage.getMatchingHeaders(String[] names)
Return matching headers from this Message as an Enumeration of
Header objects.
|
Enumeration |
MimeBodyPart.getMatchingHeaders(String[] names)
Return matching headers from this Message as an Enumeration of
Header objects.
|
String |
MimeMessage.getMessageID()
Returns the value of the "Message-ID" header field.
|
Enumeration |
MimePart.getNonMatchingHeaderLines(String[] names)
Get non-matching header lines as an Enumeration of Strings.
|
Enumeration |
MimeMessage.getNonMatchingHeaderLines(String[] names)
Get non-matching header lines as an Enumeration of Strings.
|
Enumeration |
MimeBodyPart.getNonMatchingHeaderLines(String[] names)
Get non-matching header lines as an Enumeration of Strings.
|
Enumeration |
MimeMessage.getNonMatchingHeaders(String[] names)
Return non-matching headers from this Message as an
Enumeration of Header objects.
|
Enumeration |
MimeBodyPart.getNonMatchingHeaders(String[] names)
Return non-matching headers from this Message as an
Enumeration of Header objects.
|
String |
MimeMultipart.getPreamble()
Get the preamble text, if any, that appears before the
first body part of this multipart.
|
InputStream |
MimeMessage.getRawInputStream()
Return an InputStream to the raw data with any Content-Transfer-Encoding
intact.
|
InputStream |
MimeBodyPart.getRawInputStream()
Return an InputStream to the raw data with any Content-Transfer-Encoding
intact.
|
Date |
MimeMessage.getReceivedDate()
Returns the Date on this message was received.
|
Address[] |
MimeMessage.getRecipients(Message.RecipientType type)
Returns the recepients specified by the type.
|
Address[] |
MimeMessage.getReplyTo()
Return the value of the RFC 822 "Reply-To" header field.
|
Address |
MimeMessage.getSender()
Returns the value of the RFC 822 "Sender" header field.
|
Date |
MimeMessage.getSentDate()
Returns the value of the RFC 822 "Date" field.
|
int |
MimeMessage.getSize()
Return the size of the content of this message in bytes.
|
int |
MimeBodyPart.getSize()
Return the size of the content of this body part in bytes.
|
String |
MimeMessage.getSubject()
Returns the value of the "Subject" header field.
|
boolean |
MimeMultipart.isComplete()
Return true if the final boundary line for this
multipart was seen.
|
boolean |
MimeMessage.isMimeType(String mimeType)
Is this Part of the specified MIME type? This method
compares only the
primaryType and
subType . |
boolean |
MimeBodyPart.isMimeType(String mimeType)
Is this Part of the specified MIME type? This method
compares only the
primaryType and
subType . |
boolean |
MimeMessage.isSet(Flags.Flag flag)
Check whether the flag specified in the
flag
argument is set in this message. |
void |
InternetHeaders.load(InputStream is)
Read and parse the given RFC822 message stream till the
blank line separating the header from the body.
|
protected void |
MimeMultipart.parse()
Parse the InputStream from our DataSource, constructing the
appropriate MimeBodyParts.
|
protected void |
MimeMessage.parse(InputStream is)
Parse the InputStream setting the
headers and
content fields appropriately. |
boolean |
MimeMultipart.removeBodyPart(BodyPart part)
Remove the specified part from the multipart message.
|
void |
MimeMultipart.removeBodyPart(int index)
Remove the part at specified location (starting from 0).
|
void |
MimeMessage.removeHeader(String name)
Remove all headers with this name.
|
void |
MimeBodyPart.removeHeader(String name)
Remove all headers with this name.
|
Message |
MimeMessage.reply(boolean replyToAll)
Get a new Message suitable for a reply to this message.
|
void |
MimeMessage.saveChanges()
Updates the appropriate header fields of this message to be
consistent with the message's contents.
|
void |
MimeBodyPart.saveFile(File file)
Save the contents of this part in the specified file.
|
void |
MimeBodyPart.saveFile(String file)
Save the contents of this part in the specified file.
|
void |
MimeMessage.setContent(Multipart mp)
This method sets the Message's content to a Multipart object.
|
void |
MimeBodyPart.setContent(Multipart mp)
This method sets the body part's content to a Multipart object.
|
void |
MimeMessage.setContent(Object o,
String type)
A convenience method for setting this Message's content.
|
void |
MimeBodyPart.setContent(Object o,
String type)
A convenience method for setting this body part's content.
|
void |
MimeMessage.setContentID(String cid)
Set the "Content-ID" header field of this Message.
|
void |
MimeBodyPart.setContentID(String cid)
Set the "Content-ID" header field of this body part.
|
void |
MimePart.setContentLanguage(String[] languages)
Set the Content-Language header of this MimePart.
|
void |
MimeMessage.setContentLanguage(String[] languages)
Set the "Content-Language" header of this MimePart.
|
void |
MimeBodyPart.setContentLanguage(String[] languages)
Set the Content-Language header of this MimePart.
|
void |
MimePart.setContentMD5(String md5)
Set the Content-MD5 of this part.
|
void |
MimeMessage.setContentMD5(String md5)
Set the "Content-MD5" header field of this Message.
|
void |
MimeBodyPart.setContentMD5(String md5)
Set the "Content-MD5" header field of this body part.
|
void |
MimeMessage.setDataHandler(DataHandler dh)
This method provides the mechanism to set this part's content.
|
void |
MimeBodyPart.setDataHandler(DataHandler dh)
This method provides the mechanism to set this body part's content.
|
void |
MimeMessage.setDescription(String description)
Set the "Content-Description" header field for this Message.
|
void |
MimeBodyPart.setDescription(String description)
Set the "Content-Description" header field for this body part.
|
void |
MimeMessage.setDescription(String description,
String charset)
Set the "Content-Description" header field for this Message.
|
void |
MimeBodyPart.setDescription(String description,
String charset)
Set the "Content-Description" header field for this body part.
|
void |
MimeMessage.setDisposition(String disposition)
Set the "Content-Disposition" header field of this Message.
|
void |
MimeBodyPart.setDisposition(String disposition)
Set the "Content-Disposition" header field of this body part.
|
void |
MimeMessage.setFileName(String filename)
Set the filename associated with this part, if possible.
|
void |
MimeBodyPart.setFileName(String filename)
Set the filename associated with this body part, if possible.
|
void |
MimeMessage.setFlags(Flags flag,
boolean set)
Set the flags for this message.
|
void |
MimeMessage.setFrom()
Set the RFC 822 "From" header field using the value of the
InternetAddress.getLocalAddress method. |
void |
MimeMessage.setFrom(Address address)
Set the RFC 822 "From" header field.
|
void |
MimeMessage.setHeader(String name,
String value)
Set the value for this header_name.
|
void |
MimeBodyPart.setHeader(String name,
String value)
Set the value for this header_name.
|
void |
MimeMultipart.setPreamble(String preamble)
Set the preamble text to be included before the first
body part.
|
void |
MimeMessage.setRecipients(Message.RecipientType type,
Address[] addresses)
Set the specified recipient type to the given addresses.
|
void |
MimeMessage.setRecipients(Message.RecipientType type,
String addresses)
Set the specified recipient type to the given addresses.
|
void |
MimeMessage.setReplyTo(Address[] addresses)
Set the RFC 822 "Reply-To" header field.
|
void |
MimeMessage.setSender(Address address)
Set the RFC 822 "Sender" header field.
|
void |
MimeMessage.setSentDate(Date d)
Set the RFC 822 "Date" header field.
|
void |
MimeMessage.setSubject(String subject)
Set the "Subject" header field.
|
void |
MimeMessage.setSubject(String subject,
String charset)
Set the "Subject" header field.
|
void |
MimeMultipart.setSubType(String subtype)
Set the subtype.
|
void |
MimePart.setText(String text)
Convenience method that sets the given String as this
part's content, with a MIME type of "text/plain".
|
void |
MimeMessage.setText(String text)
Convenience method that sets the given String as this
part's content, with a MIME type of "text/plain".
|
void |
MimeBodyPart.setText(String text)
Convenience method that sets the given String as this
part's content, with a MIME type of "text/plain".
|
void |
MimePart.setText(String text,
String charset)
Convenience method that sets the given String as this part's
content, with a MIME type of "text/plain" and the specified
charset.
|
void |
MimeMessage.setText(String text,
String charset)
Convenience method that sets the given String as this part's
content, with a MIME type of "text/plain" and the specified
charset.
|
void |
MimeBodyPart.setText(String text,
String charset)
Convenience method that sets the given String as this part's
content, with a MIME type of "text/plain" and the specified
charset.
|
void |
MimePart.setText(String text,
String charset,
String subtype)
Convenience method that sets the given String as this part's
content, with a primary MIME type of "text" and the specified
MIME subtype.
|
void |
MimeMessage.setText(String text,
String charset,
String subtype)
Convenience method that sets the given String as this part's
content, with a primary MIME type of "text" and the specified
MIME subtype.
|
void |
MimeBodyPart.setText(String text,
String charset,
String subtype)
Convenience method that sets the given String as this part's
content, with a primary MIME type of "text" and the specified
MIME subtype.
|
protected void |
PreencodedMimeBodyPart.updateHeaders()
Force the
Content-Transfer-Encoding header to use
the encoding that was specified when this object was created. |
protected void |
MimeMultipart.updateHeaders()
Update headers.
|
protected void |
MimeMessage.updateHeaders()
Called by the
saveChanges method to actually
update the MIME headers. |
protected void |
MimeBodyPart.updateHeaders()
Examine the content of this body part and update the appropriate
MIME headers.
|
protected void |
MimeMessage.updateMessageID()
Update the Message-ID header.
|
void |
PreencodedMimeBodyPart.writeTo(OutputStream os)
Output the body part as an RFC 822 format stream.
|
void |
MimeMultipart.writeTo(OutputStream os)
Iterates through all the parts and outputs each MIME part
separated by a boundary.
|
void |
MimeMessage.writeTo(OutputStream os)
Output the message as an RFC 822 format stream.
|
void |
MimeBodyPart.writeTo(OutputStream os)
Output the body part as an RFC 822 format stream.
|
void |
MimeMessage.writeTo(OutputStream os,
String[] ignoreList)
Output the message as an RFC 822 format stream, without
specified headers.
|
| Constructor and Description |
|---|
InternetHeaders(InputStream is)
Read and parse the given RFC822 message stream till the
blank line separating the header from the body.
|
MimeBodyPart(InputStream is)
Constructs a MimeBodyPart by reading and parsing the data from
the specified input stream.
|
MimeBodyPart(InternetHeaders headers,
byte[] content)
Constructs a MimeBodyPart using the given header and
content bytes.
|
MimeMessage(Folder folder,
InputStream is,
int msgnum)
Constructs a MimeMessage by reading and parsing the data from the
specified MIME InputStream.
|
MimeMessage(Folder folder,
InternetHeaders headers,
byte[] content,
int msgnum)
Constructs a MimeMessage from the given InternetHeaders object
and content.
|
MimeMessage(MimeMessage source)
Constructs a new MimeMessage with content initialized from the
source MimeMessage. |
MimeMessage(Session session,
InputStream is)
Constructs a MimeMessage by reading and parsing the data from the
specified MIME InputStream.
|
MimeMultipart(DataSource ds)
Constructs a MimeMultipart object and its bodyparts from the
given DataSource.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SearchException
The exception thrown when a Search expression could not be handled.
|
Copyright © 2013 Oracle. All Rights Reserved.


{{- $version := partialCached "tnd-netlifycms/private/GetCMSVersion" . "tnd-netlifycms/private//GetCMSVersion" -}}
{{/* Hugo keeps escaping the `^` character potentially used to specify CMS version (`^2.0.0`) in spite of
safeHTML, safeHTMLAttr and the like. Passing the whole tag through `printf` fixes it... */}}
{{- $cdn := printf `` $version -}}
{{ $cdn | safeHTML }}
{{ partial "tnd-netlifycms/scripts.html" . }}


Published: June 24, 2020
Testing was performed with the following:
Paragraph text.
dfn
elementdefining instance of a term
dfn
's content.dfn
element, (Control + Option + Shift + down arrow) the before/after content can be navigated to as individual words, just like the child text of the element.dfn
's content.dfn
text.dfn
is wrapped in a p
or not, it treats the line of text as a paragraph).dfn
text.dfn
's content.


| Module | Frivol::ClassMethods |
| In: |
lib/frivol.rb
|
These methods are available on the class level when Frivol is included in the class.
Create a storage bucket. Frivol creates store_#{bucket} and retrieve_#{bucket} methods automatically. These methods work exactly like the default store and retrieve methods except that the bucket is stored in it‘s own key in Redis and can have it‘s own expiry time.
Counters are special in that they do not store a hash but only a single integer value and also that the data in a counter is not cached for the lifespan of the object, but rather each call hits Redis. This is intended to make counters thread safe (for example you may have multiple workers working on a job and they can each increment a progress counter which would not work with the default retrieve/store method that normal buckets use). For this to actually be thread safe you need to pass the thread safe option to the config when you make the connection.
In the case of a counter, the methods work slightly differently:
Options are :expires_in which sets the expiry time for a bucket, and :counter to create a special counter storage bucket.


|
libguac
1.3.0
|
Convenience functions for processing parameter values that are submitted dynamically using "argv" instructions. More...
Go to the source code of this file.
Functions | |
| int | guac_argv_register (const char *name, guac_argv_callback *callback, void *data, int options) |
| Registers the given callback such that it is automatically invoked when an "argv" stream for an argument having the given name is processed using guac_argv_received(). More... | |
| int | guac_argv_await (const char **args) |
| Waits for receipt of each of the given arguments via guac_argv_received(). More... | |
| int | guac_argv_received (guac_stream *stream, const char *mimetype, const char *name) |
| Hands off management of the given guac_stream, automatically processing data received over that stream as the value of the argument having the given name. More... | |
| void | guac_argv_stop () |
| Stops further automatic processing of received "argv" streams. More... | |
Variables | |
| guac_user_argv_handler | guac_argv_handler |
| Convenience implementation of the "argv" instruction handler which automatically sends any required "ack" instructions and invokes guac_argv_received(). More... | |
Convenience functions for processing parameter values that are submitted dynamically using "argv" instructions.
| int guac_argv_await | ( | const char ** | args | ) |
Waits for receipt of each of the given arguments via guac_argv_received().
This function will block until either ALL of the given arguments have been received via guac_argv_received() or until automatic processing of received arguments is stopped with guac_argv_stop().
| args | A NULL-terminated array of the names of all arguments that this function should wait for. |
| int guac_argv_received | ( | guac_stream * | stream, |
| const char * | mimetype, | ||
| const char * | name | ||
| ) |
Hands off management of the given guac_stream, automatically processing data received over that stream as the value of the argument having the given name.
The argument must have already been registered with guac_argv_register(). The blob_handler and end_handler of the given stream, if already set, will be overridden without regard to their current value.
It is the responsibility of the caller to properly send any required "ack" instructions to accept or reject the received stream.
| stream | The guac_stream that will receive the value of the argument having the given name. |
| mimetype | The mimetype of the data that will be received over the stream. |
| name | The name of the argument being received. |
| int guac_argv_register | ( | const char * | name, |
| guac_argv_callback * | callback, | ||
| void * | data, | ||
| int | options | ||
| ) |
Registers the given callback such that it is automatically invoked when an "argv" stream for an argument having the given name is processed using guac_argv_received().
The maximum number of arguments that may be registered in this way is limited by GUAC_ARGV_MAX_REGISTERED. The maximum length of any provided argument name is limited by GUAC_ARGV_MAX_NAME_LENGTH.
| name | The name of the argument that should be handled by the given callback. |
| callback | The callback to invoke when the value of an argument having the given name has finished being received. |
| data | Arbitrary data to be passed to the given callback when a value is received for the given argument. |
| options | Bitwise OR of all option flags that should affect processing of this argument. |
| void guac_argv_stop | ( | ) |
Stops further automatic processing of received "argv" streams.
Any call to guac_argv_await() that is currently blocking will return, and any future calls to guac_argv_await() will return immediately without blocking.
| guac_user_argv_handler guac_argv_handler |
Convenience implementation of the "argv" instruction handler which automatically sends any required "ack" instructions and invokes guac_argv_received().
Only arguments that are registered with guac_argv_register() will be processed.


3D Object Modelling - Bloch Sphere (Qubit)
and Single Quantum Logic Gates/Operators
with
Trackball Controls
Made with
three.js
by
Rúben André Barreiro
Single Quantum Logic
Gates/Operators:
Pauli-I Gate
(I, Idle, Identity)
Hadamard Gate
(H)
Pauli-X Gate
(X, NOT, Bit Flip)
Pauli-Y Gate
(Y)
Pauli-Z Gate
(Z, R
π
, Phase Flip)
Phase Gate
(R
π
⁄
2
, S, P)
π
⁄
8
Gate
(R
π
⁄
4
, T)
Initial/Final Operators:
Reset
Measurement
Options/Settings:
Motions:
Bloch Sphere's (Qubit's)
Rotation Movement
Play
Stop
Quantum Operation's (Bit's)
Rotation Movement
Play
Stop
Show and display:
Camera View
Top
Front
Perspective
Show Wireframe
Yes
No
Show Grid/Helpers
XY Grid
Axis' Arrows' Helpers
Show Planes' Circumferences
XY Plane Circumference
XZ Plane Circumference
YZ Plane Circumference
Copyrights:
Learning Quantum Computing (Online Web Course)
Ⓒ Rúben André Barreiro - All Rights Reserved


--- layout: post title: pumpkin steamed buns (mantou) date: 2010-03-10 18:48:42.000000000 -05:00 type: post published: true status: publish categories: - breads - vegan - vegetarian tags: - mantou - pumpkin steamed buns meta: _oembed_3c43f84e1da5a19e3ec6a6861f9a096b: author: login: sophie email<EMAIL_ADDRESS>display_name: Pika first_name: '' last_name: '' ---
pumpkin steamed buns (mantou), originally uploaded by monpetitichou.


--- layout: post status: publish published: true title: Using Monorail author: display_name: Tomas Restrepo login: tomasr email<EMAIL_ADDRESS>url: http://winterdom.com/ author_login: tomasr author_email<EMAIL_ADDRESS>author_url: http://winterdom.com/ wordpress_id: 50 wordpress_url: http://winterdom.com/2007/06/usingmonorail date: '2007-06-04 06:21:32 +0000' date_gmt: '2007-06-04 06:21:32 +0000' categories: - ".NET" - ASP.NET tags: [] comments: - id: 46 author: Daryl author_email<EMAIL_ADDRESS>author_url: http://kiwiscanfly.wordpress.com date: '2007-07-09 22:57:23 +0000' date_gmt: '2007-07-09 22:57:23 +0000' content: | Let me know if you find and good editors for monorail and I'll do the same, I'm looking right now. - id: 47 author: Daryl Milne author_email<EMAIL_ADDRESS>author_url: http://kiwiscanfly.wordpress.com date: '2007-07-18 23:04:36 +0000' date_gmt: '2007-07-18 23:04:36 +0000' content: | I find PSPad is the best, Automatic < closing, good highlighters, good settings dialog, and it has some really it has some good add-ons. ---
I've been writing a simple (but important for me) Web Application these past few days using Monorail, and I will just say it totally rocks. Getting started with a monorail project, without using any wizard is actually pretty easy; I started by getting the most recent successful build. I was able to get the basic boilerplate code, even supporting localization, in very little time, and I've been very happy with just how simple and intuitive it is overall.
The only problem I had a bit was with documentation, as it seems to be a little older and doesn't quite match now. For example, the wiki entries for the Brail view engine (which I prefer over the nvelocity one) suggest templates and layouts should be named with a *.boo extension, when it should be *.brail.
Oh, and by the way, writing brail templates in Visual Studio sucks :-)... if you open the files using the HTML editor it works, but it is too helpful in reformatting the code, resulting in broken boo snippets.


ready
document.ready(fn)
fnfunction to call when DOM is loaded
callback called when DOM is loaded
document.ready(fn)
fnfunction to call when DOM is loaded
callback called when DOM is loaded
urlA string containing the URL to which the request is sent.
onSuccessA callback function that is executed if the request succeeds.
onErrorA callback function that is executed if the request occurs errors.
optionsoptions
Load JSON-encoded data from the server using a GET HTTP request.
Work only on serverurlA string containing the URL to which the request is sent.
onSuccessA callback function that is executed if the request succeeds.
onErrorA callback function that is executed if the request occurs errors.
optionsoptions
Load data from the server using a GET HTTP request.
arrScriptsUrlarray of scripts urls
Load javascript resources in the document
conditiona boolean
arrScriptsUrlarray of scripts urls
Load javascript resources in the document if the condition is true
arrStylesUrlarray of css urls
Load css resources in the document


title = "Article Detail" url = "/article/detail/:slug" layout = "octaskin" description = "Article Detail" is_hidden = 0 [blogPost] slug = "{{ :slug }}" categoryPage = "about" == {%if post.featured_images[0].path%} {%endif%} Product Detail {{post.title |raw}} {{post.title}} {{post.content | raw}} {% for image in post.featured_images %} {%endfor%}
{{post.title |raw}}


--- title: Dr. Timon Gehr position: Postdoctoral Researcher image: timon.jpg email<EMAIL_ADDRESS>office: CAB H 81.1 website: phone: cv: ---
I am a postdoctoral researcher at the Department of Computer Science at ETH Zurich as part of the Secure, Reliable, and Intelligent Systems Lab
| 2022 | ETH Medal for Outstanding Dissertation | Awarded |
| 2021 | ACM ICPC World Finals 2020 | Honors (Coach) |
| 2020 | ACM ICPC SWERC 2019-2020 | Silver Medal (Coach) |
| 2020 | ACM ICPC SWERC 2019-2020 | Bronze Medal (Coach) |
| 2019 | 2019 IBM PhD Fellowship Award | Awarded |
| 2017 | Helvetic Coding Contest | Bronze Medal (ranked 3rd) |
| 2016 | ACM ICPC World Finals 2016 | Honorable Mention (Coach) |
| 2015 | ACM ICPC SWERC 2015-2016 | Gold Medal (Coach) |
| 2015 | ETH Medal for Outstanding Master Thesis | Awarded |
| 2015 | Helvetic Coding Contest | Silver Medal (ranked 5th) |
| 2013 | Helvetic Coding Contest | Silver Medal (ranked 2nd) |
| 2012 | Helvetic Coding Contest | Bronze Medal (ranked 3rd) |
| 2011 | Helvetic Coding Contest | Bronze Medal (ranked 3rd) |
| 2010 | International Physics Olympiad | Honourable Mention |
| 2010 | Swiss Olympiad in Informatics | Gold Medal (ranked 2nd) |
| 2010 | Swiss Olympiad in Informatics | Qualified for IOI 2010 in Canada |
| 2010 | Swiss Physics Olympiad | Gold Medal (ranked 1st) |
| 2010 | Swiss Physics Olympiad | Qualified for IPhO 2010 in Croatia |
| 2010 | Award for the best Young Physicist | Awarded by Swiss Physical Society |
| 2010 | Swiss Olympiad in Biology | Bronze Medal (ranked 10th) |
| 2010 | Swiss Youth Music Competition | First Prize |
| 2010 | Swiss Youth Music Competition | Two Special Awards |
| 2009 | Swiss Olympiad in Informatics | Silver Medal (ranked 7th) |
| 2009 | Swiss Olympiad in Informatics | Qualified for CEOI 2009 in Romania |
| 2009 | Swiss Physics Olympiad | Silver Medal (ranked 6th) |
| 2009 | Swiss Olympiad in Mathematics | Qualified for Swiss Finals |
| 2009 | Swiss Olympiad in Mathematics | Qualified for MEMO 2009 in Poland |
| 2009 | Swiss Youth in Science | Grade "very good" |
| 2009 | Swiss Youth in Science | Siemens Special Award |


Please follow the steps to generate your custom build.
© 2016, Reiner Kempkes, Released under the MIT License
Project at Github


Technical manual¶
Modules¶
jedli_main¶
This is the module that initiates the GUI (graphical user interface). In the executable version of the program, it is called jedli_main.exe
jedli_gui¶
Contains the code for the main window of the Jedli GUI
jedli_logic¶
Contains the code for the main Jedli search tools (Indexer, Highlighter, Context Search)
core_mining_functions¶
Contains the functions that are used by all jedli tools
jedli_global.py¶
Contains important global variables
jedli_logger.py¶
Contains the code for the log screen that opens alongside the main Jedli window
jedli_EpubConverter¶
Contains an epub converter for Shamela texts
jedli_search_options¶
Contains the code for the search options window GUI
source_selection¶
Contains the code for the source selection window GUI
sourceUpdate¶
Contains the code for the source update window GUI
setDefaultValues¶
Contains the code for the set default values window GUI
date_plot¶
Contains the code for the plotly graph that represents the spread of results over time
chronoplot¶
Contains the code for the plotly scatter/line plot that represents the distribution of the sets of search words within the text


Toggle navigation
Dergi Projesi
News
Pictures
Contact
Login
Login via
Facebook
Twitter
or
Email address
Password
Forget the password ?
Sign in
keep me logged-in
New here ?
Join Us


Summary
I created Hugo for a comic series on machine learning.
He's now a sticker on the
iOS app store, downloaded over 25,000 times. He was featured on the iOS App Store Editor's Picks for East Asia
The comic series didn't work out, but those drafts gave way to a cheerful character, Hugo.
Once I created him, I kept it up with Hugo for different moods, settings & occasions.
He started out as a mascot, used to explain ML concepts at Concur, and then started being used in diagrams, presentations, graphics, blogs, and has even been made into stickers and merch!


Unit Address File Status - Valid
Error:
| # |
UPRN |
ESTAB_UPRN |
ADDRESS_TYPE |
ESTAB_TYPE |
ADDRESS_LEVEL |
ABP_CODE |
ORGANISATION_NAME |
ADDRESS_LINE1 |
ADDRESS_LINE2 |
ADDRESS_LINE3 |
TOWN_NAME |
POSTCODE |
LATITUDE |
LONGITUDE |
OA |
LSOA |
MSOA |
LAD |
REGION |
MMSTREET_TOID |
MMTOPO_TOID |
BNG_NORTHING |
BNG_EASTING |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Unit Address File Status - Invalid
| # |
UPRN |
ESTAB_UPRN |
ADDRESS_TYPE |
ESTAB_TYPE |
ADDRESS_LEVEL |
ABP_CODE |
ORGANISATION_NAME |
ADDRESS_LINE1 |
ADDRESS_LINE2 |
ADDRESS_LINE3 |
TOWN_NAME |
POSTCODE |
LATITUDE |
LONGITUDE |
OA |
LSOA |
MSOA |
LAD |
REGION |
MMSTREET_TOID |
MMTOPO_TOID |
BNG_NORTHING |
BNG_EASTING |
EXCEPTION_REASON |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|


|
Midnight Blue Game and Engine
|
Scene to display a star system with planets and a star. More...
Public Member Functions | |
| StarSystemScene (EntityMap map, ContentManager content, StarSystem starSystem, Dictionary< string, Planet > cache, int seed) | |
| Initializes a new instance of the T:MidnightBlue.StarSystemScene class. More... | |
| override void | Initialize () |
| Ends initializing instantly. More... | |
| override void | HandleInput () |
| Handles moving the players ship. More... | |
| override void | Update () |
| Updates all systems in the game and handles the ocurrance of the player entering a planet. More... | |
| override void | Draw (SpriteBatch spriteBatch, SpriteBatch uiSpriteBatch) |
| Draws the star system to the sprite batch and the HUD to the UI spritebatch. More... | |
| void | DrawMap (SpriteBatch uiSpriteBatch) |
| Draws the minimap to the window. More... | |
| override void | Exit () |
| Exits the scene instantly. More... | |
| override void | Pause () |
| Pauses the scene instantly. More... | |
| override void | Resume () |
| Resumes the star system scene after leaving a planet. Handles resetting the physics environment, players ship settings and reactivates all planets and the star. More... | |
| Public Member Functions inherited from MB2D.Scenes.Scene | |
| Scene (EntityMap gameObjects, ContentManager content) | |
| Initializes a new instance of the T:MB2D.Scenes.Scene class with a pre-existing EntityMap More... | |
| void | UpdateTransition () |
| void | Cleanup () |
| Cleans up the scene and unloads content. More... | |
Additional Inherited Members | |
| Properties inherited from MB2D.Scenes.Scene | |
| EntityMap | GameObjects [get] |
| Gets all entities allocated to the scene More... | |
| TransitionState | TransitionState [get, set] |
| Gets or sets the current transition state of the scene. This causes the scene stack to change the scenes state on the next frame. More... | |
| TransitionState | PreviousTransitionState [get] |
| Gets the state the scene was in during the last frame. More... | |
| Color | WindowBackgroundColor [get, set] |
| Gets or sets the color of the window background for this scene. More... | |
| SceneStack | SceneController [get, set] |
| Gets or sets the scene controller. More... | |
| ContentManager | Content [get] |
| Gets the content manager for loading and unloading resources. More... | |
| float | DeltaTime [get, set] |
| Gets or sets the delta time value. More... | |
Scene to display a star system with planets and a star.
|
inline |
Initializes a new instance of the T:MidnightBlue.StarSystemScene class.
| map | Entity map to load entities into. |
| content | Content manager for loading resources. |
| starSystem | Star system information to use for the scene. |
| cache | Planet cache used for quickly loading recently-visited star systems. |
| seed | Seed to use in random generation. |
|
inlinevirtual |
Draws the star system to the sprite batch and the HUD to the UI spritebatch.
| spriteBatch | Sprite batch to draw world-based entities to. |
| uiSpriteBatch | User interface sprite batch. |
Implements MB2D.Scenes.Scene.
|
inline |
Draws the minimap to the window.
| uiSpriteBatch | User interface sprite batch to draw to. |
|
inlinevirtual |
Exits the scene instantly.
Implements MB2D.Scenes.Scene.
|
inlinevirtual |
Handles moving the players ship.
Implements MB2D.Scenes.Scene.
|
inlinevirtual |
Ends initializing instantly.
Implements MB2D.Scenes.Scene.
|
inlinevirtual |
Pauses the scene instantly.
Implements MB2D.Scenes.Scene.
|
inlinevirtual |
Resumes the star system scene after leaving a planet. Handles resetting the physics environment, players ship settings and reactivates all planets and the star.
Implements MB2D.Scenes.Scene.
|
inlinevirtual |
Updates all systems in the game and handles the ocurrance of the player entering a planet.
Implements MB2D.Scenes.Scene.


Google Home
$129
Shop
Hey Google, remind me to pick up milk from the store
Google Home Mini
From $49
Shop
Hey Google, dim the kitchen lights
Google Home Max
$399
Shop
Hey Google, turn up the volume to 8
Google Home Mini
From $49
Shop
Hey Google, dim the kitchen lights
Google Home Max
$399
Shop
Hey Google, turn up the volume to 8
Google Home
$129
Shop
Hey Google, remind me to pick up milk from the store


Welcome to LIZARDS! Setup...
Select a world and add or replace the items you want.
Press
Enter Lizards!
to continue.
The source.
Images...
juergen@kcbbs.gen.nz


hodgepodge of letters intended to make sure no one took liberties with the name of the Almighty.
Even today, many Jews still refer to Jehovah simply as Hashem, which means, “The Name.” Some Jewish references to God remove the vowel and spell the word G*D or G_D so that no one will accidentally pronounce it out loud.
I sometimes wonder if we’ve lost our sense of awe at God’s holiness—His nature that is bigger, greater, better than anything else we know in this life. In order to help people understand the personal nature of God, we try so hard to communicate God’s accessibility, approachability, closeness, and friendly nature that we portray Him as our buddy, our copilot, our divine BFF.
When I pray, I like to picture Jesus walking next to me or sitting across a table from me. His humanity makes me feel comfortable and at ease. But I forget sometimes to honor His divinity as well, His holiness. Imagine having such reverence and awe for the powerful holiness of God that you dare not even speak His name out loud. Those who sought to protect the name of YHWH from anyone who would misuse it had great respect for the holiness of God’s name.
Look up these verses about the transcendence of God—the trait of God’s personality that we understand as holy, other, set apart. Write a couple of words describing God for each.
Exodus 15:11
Isaiah 6:1-3
Revelation 1:12-19
Look up these verses about the immanence of God—the trait of God’s personality that we understand as approachable, close, accessible. Write a couple of words describing God for each.
Genesis 3:8
John 1:14
Read Isaiah 57:15. This verse describes both God’s immanence (close) and transcendence (apart). Can you identify which part of the verse describes which characteristic?


An example data return
This is an example of a data return for the landfill sector
| EA_ID | Rtn_Type | Mon_Point | Mon_Date | Parameter | Value | Unit | Ref_Period | Mon_Period | Smpl_Ref | Smpl_By | Txt_Value | Site_Name | Comments | Meth_Stand | CiC | CAS | RD_Code |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AP3192NT | EPR/IED Air (point source) emissions return | Monitor point 1 | 8/1/2015 | 1,1,2,2-Tetrachloroethane | 100 | ug | Continuous | Annual | Sample Reference 123 | Sampled By J Smith | Text value | Safle Allyriadau Bethesda | Comments | BS EN 12260 | TRUE | 34590-94-8 | R1 |
| AP3192NT | EPR/IED Air (ambient) monitoring return | Monitor point 1 | 8/2/2015 | 1,1-Dichloroethane | 0.00001 | mg | ½-hr average | Bi-annual | Sample Reference XYZ | Sampled By MC1234 | Text value | Emission Point Bethesda | Comments | BS EN 12260 | FALSE | 71-55-6 | R1 |
| AP3192NT | EPR/IED Leachate level return | Monitor point 1 | 10/2/2015 | 1,3-Butadiene | >5 | cm2 | Daily Mean | Monthly | Sample Reference A1 | Sampled By ZX123ab | Text value | Site 123ABC | Comments | BS EN 12260 | FALSE | R1 | |
| AP3192NT | EPR/IED Leachate quality return | Monitor point 1 | 11/3/2015 | 2,4-DB (4-(2,4-DichFlorophenoxy)butyric Acid) | 20.12 | ug | Spot sample | Annual | Sample Reference xZY12 | Sampled By F Bacon | Text value | Carnedd Waste Site | Comments | BS EN 12260 | Yes | R1 | |
| AP3192NT | EPR/IED Surface Water emissions return | Monitor point 1 | 8/5/2015 | 2-Methylpropan-1-ol | 105.01 | g/t | Continuous | Monthly | Sample Reference 0001 | Sampled By Automated | Text value | Main Campus XZ001 | Comments | BS EN 12260 | No | R1 | |
| AP3192NT | EPR/IED Groundwater quality/level return | Monitor point 1 | 1/1/2015 | Aldicarb | 0.000001 | ug/l | Hourly mean | Annual | Sample Reference ABC123 | Sampled By JK Ltd | Text value | Recyle Centre 12 | Comments | BS EN 12260 | TRUE | R1 | |
| AP3192NT | EPR/IED Landfill Gas surface emissions | Monitor point 1 | 8/13/2015 | Ammoniacal Nitrogen | >0.0001 | t/day | Continuous | Annual | Sample Reference R1234 | Sampled By G Davies | Text value | Main Site Area XZ | Comments | BS EN 12260 | TRUE | 93-76-5 | R1 |
| AP3192NT | EPR/IED Landfill Gas Perimeter | Monitor point 1 | 8/29/2015 | Calcium | 1.2 | l/s | Hourly mean | Annual | Sample Reference BM1232 | Sampled By MXZ123 | Text value | Site 232ASD | Comments | BS EN 12260 | R1 | ||
| AP3192NT | EPR/IED Landfill Gas in Waste | Monitor point 1 | 7/6/2015 | CO2 | <1 | mol | Continuous | Once every two months | Sample Reference XZ12323 | Sampled By P Roberts & Co Ltd | Text value | Riverside Emission Point | Comments | BS EN 12260 | Yes | R1 | |
| AP3192NT | EPR/IED Landfill Gas infrastructure monitoring | Monitor point 1 | 6/5/2015 | iso-Caproic acid | 21.23 | ug | Instantaneous | Annual | Sample Reference 567 | Sampled By BDF56DF | Text value | Borehole AB1 | Comments | BS EN 12260 | No | R1 | |
| AP3192NT | EPR/IED Sewer emissions return | Monitor point 1 | 6/1/2015 | Nitrite | 2.5 | ug | Continuous | Quarterly | Sample Reference AB123 | Sampled By 456ASD | Text value | Measuring Point Area 1 | Comments | BS EN 12260 | NO | R1 | |
| AP3192NT | EPR/IED ETP or Tankering emissions return | Monitor point 1 | 4/13/2015 | Phosphorus | 1.001 | m2 | Continuous | Annual | Sample Reference 123ZX | Sampled By M Hughes Ltd | Text value | Waste Recycling Point 1 | Comments | BS EN 12260 | YES | 24468-13-1 | R1 |
| AP3192NT | EPR/IED Landfill Annual monitoring report | Monitor point 1 | 2/5/2015 | 1,1,2,2-Tetrachloroethane | 99 | ug | 2 Hours | Twice a year | Sample Reference B1 | Sampled By Automated | Text value | Area 2 Zone 1 | Comments | BS EN 12260 | TRUE | R1 |


Scottish Cup: Broxburn Athletic and Livingston learn fourth round opponents
The Brox travel to top flight outfit St Mirren while it's a home clash for Livingston against Raith Rovers.
by Callum Carson, https://www.dailyrecord.co.uk/authors/callum-carson/Broxburn Athletic will travel to Premiership outfit St Mirren in the fourth round of the Scottish Cup.
The East of Scotland Premier Division are the lowest ranked side still in the competition and will get the chance of a pay day in Paisley.
The Brox have reached the fourth round in their maiden Scottish Cup campaign following victories over Tynecastle, Girvan, East Stirlingshire and Cowdenbeath prior to yesterday's dramatic late triumph against Inverurie Loco Works.
Zander Miller struck the 84th minute winner in the Highlands for Brian McNaughton's men.
Livingston, meanwhile, will host League One side Raith Rovers which sets up a clash with their former boss John McGlynn.
Ties will be played on either January 18 or 19.


Sydneysiders urged to stay indoors as Australian bushfire smoke blankets city
by Colin PackhamSYDNEY (Reuters) - Strong winds stoked more than 100 fires across Australia’s east coast on Tuesday, blanketing Sydney in hazardous smoke and prompting health warnings for the country’s most populous city.
Australia is prone to bushfires in its dry, hot summers, but fierce blazes have been sparked early, in the southern spring, by a long drought and soaring temperatures.
Wildfires have so far this month claimed at least four lives, burnt about 2.5 million acres (1 million hectares) of farmland and bush and destroyed more than 300 homes.
Powerful winds fanned around 130 fires that have been burning across New South Wales and Queensland states for several days, and pushed smoke south to form a thick haze over Sydney, home to around 5 million people.
Related Coverage
Officials said the air quality above parts of the harbor city was measured at 10 times hazardous levels on Tuesday and advised people to stay indoors as much as possible as the smoke lingers over coming days.
“We know that heatwaves cause severe illness, hospital admission and even deaths, and that people are more sensitive to heatwaves early in the season,” Richard Broom, director of environmental health at NSW Health said In an emailed statement.
“The combination of heat and poor air quality adds to the risk.”
In NSW, firefighters were scrambling to strengthen fire containment lines ahead of forecast higher temperatures for much of the rest of the week.
“More than 1,300 firefighters are working on these fires, undertaking backburning operations and strengthening containment lines ahead of forecast hot, dry and windy weather, with seven areas under a total fire ban,” the NSW Rural Fire Service said in a statement.
The current bushfire crisis has mostly been contained to the east coast of NSW and Queensland states, but officials in South Australia warned on Tuesday that forecast near-record temperatures raises the risks in that state.
Australia’s Bureau of Meteorology said temperatures in Adelaide, the capital of South Australia, will hit 42 degrees Celsius (107.6 degrees Fahrenheit) on Wednesday, which coupled with strong winds will create “catastrophic” fire danger conditions.


Create an Iteration Object from the fruit array.
Each entry will have a key/value pair based on the array values:
Note: The entries method is not supported in IE 11 (and earlier versions).


- Home
- What is LinkedIn
- Join today
-
Sign in
Over 175 million professionals use LinkedIn to exchange information,ideas and opportunities
- Stay informed about your contacts and industry
- Find the people & knowledge you need to achieve your goals
- Control your professional identity online
LinkedIn Today
Search for someone by name:


Webapp Template
Simple web page that starts, stops and sends markers to a Cortex EEG session
Emotiv_id
Password
Session Controls
Markers
Marker Value:
Your browser does not support HTML5


ONLINE RESUME
SISHIR POKHREL
"Grounded, creative, and solution-oriented Computer Scientist with a wide variety of experiences. Adept at motivating self and others. Passionate about ethical hacking, data security, and educating the next generation of technology users and innovators.
Work Experiences
Sroth Code Academy
(Sroth Code Academy is an IT company providing services like development of mobile
games,applications,softwares,etc. as well as websites and SMCs.)
- Designed and developed user friendly websites for client companies like limousine company, local online clothing company,etc. including optimized checkout page that increased user clicks
- Fixed bugs from existing websites and implemented enhancements that significantly improved web functionality and speed.
Stem4Kids
(STEM4kids provide a vibrant Camps and After School Program for kid’s ages 6 to 17, using cutting
edge technologies around STEM. Students will
build and program robots, design, code computer games and construct engineering models)
- Assisted teaching faculty to introduce topics like programming and robotics to kids and to set up practical labs and materials which would help kids to learn practically and motivate them to join CS in the future.
Education
University of Louisiana at Monroe
Bachelor of Science - Computer Science
(2016-Present)
These are some of the major courses I took here.
- Data Structures.
- Algorithm.
- Internet Programming.
- Theory of Database Mgmt Systems.
- Linear algebra.
- Statistics.
- Discrete Mathematics.
Skills
My skills include:
- Java
- Python
- JavaScript
- PHP
- HTML5
- jQuery
- SQL
- Ubuntu
- Kali
Personal Projects
Movie Critic (Machine Learning Project)
Developed a program that uses a collection of existing movie reviews to assign sentiment scores to additional reviews provided as input. The program is an example of Machine Learning, a branch of computer science that studies algorithms that build models from sample inputs and use those models to make predictions or decisions. The data that the algorithm is going to “learn” from is a set of movie reviews extracted from the Rotten Tomatoes database, in which the sentiment of each review has been manually rated on a scale from 0 to 4.
Team Project
Android Applications Development
Developed android applications like Native language to English translation app, Score Keeper app, Grocery Store app,etc using Android Studio, Java and Kotlin. Language translation app helps user to learn some native language like (for example: Nepali) in easy manner to non-native speakers. Score Keeper App helps user to keep track of the scores of the sport which they are playing and the grocery app helps customers to pre-order the goods from their phone in advance
Honers and Awards
Emerging Scholar Awards
(01/2017 – 05/2017)
(Collaborated group research in the Systems Thinking, Lean Startup, and Entrepreneurial Cognition using mainly the seminal work and the literature review using the google databases and online library EBSCO databases)
Dean's List
(08/2016 – 08/2017)
Got included in Dean's List for Outstanding performance.
Phishing Contest Winner
(2019)
My team was declared winners of Phishing Contest at ULM's InfoSec Boot Camp 2019.
Interests
- Machine Learning
- Ethical Hacking
- Penetration Testing
- Cyber Security
- Web Development
- Software Development
- Games Development
References
Dr. Lon Smith
(Current Advisor)
Associate Professor
Computer Science
University of Louisiana at Monroe
email<EMAIL_ADDRESS>Dr. Hilary Jones
(Past Team Leader)
Senior Developer
Sroth Code Academy
email: srothcodeacademy@gmail.com


PLEASE CHOOSE A DIFFERENT OBJECT, THIS ONE
IS NOT QUITE READY YET :)
OSNAT & ALEX'S
living room
About
Origins
Objects
Living Rooms
ANNA'S
living room
ANNA'S
living room


Scala match
expression is a very powerful tool.
In hands of an experienced developer it can be used to
create concise and easy to understand code,
yet novice programmers are often intimidated by it.
In this blog post I will describe how match
expression
work. We will start with the basics and finish with the extractors.
After reading this post you will know how case List(a, b, c)
works and you will be able to write your own extractors.
Pattern matching values
match
expression can be used (just like Java’s switch
)
as a more robust if
statement replacement.
For example we can write:
match
expression, in opposite to Java’s switch
is not
limited to strings, Enums and numeric types, but can also match
booleans, floating point numbers (although this isn’t a good idea)
and null
literal.
We can also mix multiple value types in a single match
expression:
When we match an Enum value we are not required to provide cases for all possible values of the Enum:
When a value cannot be pattern matched
a scala.MatchError
runtime exception is thrown.
A special “catch all” case can be
provided to handle all previously unmatched values
(Scala’s case _
is a counterpart to Java’s switch
default
label):
“catch all” case should be the last one.
Patterns are matched from top to bottom and the procedure
stops on the first matching case
clause.
Sometimes we want to access the value matched by “catch all” case,
this can be done by replacing wildcard pattern (_
)
with a variable name:
Often it is required to execute the same code for multiple values.
With match
this can be done using |
(pipe) operator:
match
can also be used to match against null
:
Matching against Double NaN
value is more problematic, since
NaN == NaN
must always return false
according to IEEE 754
Standard. To match against NaN
we need to use a pattern guard:
We will return to pattern guards later.
Pattern matching class instances
Besides pattern matching primitive types, match
can also be used
to compare normal class instances.
For this to work, a matched class must provide a sensible
override for equals
and hashCode
methods.
Before we’ll see an example, we need to learn about a certain pitfall of Scala, illustrated by the following code:
Why was x
matched with case y
despite x.equals(y)
returning false
?
Because the y
in case y
is a new variable introduced by “catch-all” clause
to keep the matched value. It’s the same construct that we used
earlier to catch unknown colors (case unknownColor
).
To tell Scala compiler that we want to use the value kept in
a variable instead of introducing a new one,
we just need to quote variable name using `
character:
Returning to the instances matching, here is a working example:
One more example before we move on. When we attempt to
match singleton objects we do not need to use `
escaping:
case X
will work just fine!
Pattern matching types
Besides matching values, match
can also perform instanceof
tests:
As usual on JVM instanceof
tests will not work with
parametrized types
(while class List<T>
is a generic type,
List<T>
usage like List<String>
is
called a parametrized type).
Type erasure
is here to blame:
But not all is lost, we can still preform type tests
on generic types using wildcards (Scala _
is a conterpart of Java ?
,
consider Scala’s List[_]
and Java’s List<?>
):
So far we where not interested in the actual value of the variable,
but only in it’s type and so we just discarded the value using case _: Type
clause.
But nothing prevents us from assigning the already type checked
value to a variable:
Every case
clause creates it’s own lexical scope.
This means that we can reuse variable names across different case
es:
Pipe operator can be used with type checks too, but the resulting code isn’t very readable:
If we want to use the value matched by this pattern we need to use a pattern binder:
Pattern binders allow us to assign a value that matches a subpattern to a variable. In the extreme case this subpattern can be the entire pattern, as it is in our case. We will return to the pattern binders later.
Pattern matching tuples
Pattern matching on tuples is supported out of the box.
We can match on tuple elements using all previously
described matchers. We can ignore a tuple element
by using “match all” wildcard (_
):
We can also match nested tuple structures:
Pattern guards
When pattern matching values, we often need to preform some additional checks e.g. say we want to match all odd or even integers. We can use pattern guards for this purpose:
Since pattern guards use predicates (expressions that
return either true
or false
) they are very flexible.
We can express both value and type checks using only
pattern guards:
The problem with pattern guards is that they are imperative. We should try to avoid them as much as possible. Later we will learn about extractors, that roughly speaking do the same job as guards but in a more declarative way.
Extractors
Extractors are pattern guards on steroids. They allow us to build highly readable DSLs and provide a functional way to match, extract and transform program data.
The simplest extractor return just a Boolean
value and
can be used as a pattern guard replacement:
Generally speaking extractor is just a value with unapply
method.
In the last example we used object
s but extractor can also be kept in variables:
Here we also used pattern binders to name the values that where matched
by multipleOf
extractors.
Unfortunately in the current version of Scala we cannot create parametrized
extractors. In other words we cannot create a universal multipleOf(n)
extractor.
This also means that pattern guards are not 100% replaceable by extractors.
As the name suggest, the extractors main purpose is to extract the data from matched values. Our next extractor will extract non-null values from nullable reference:
unapply
method can be generic, and should return Some(value)
in
case of match and None
when there is not match.
But extractors are not limited to returning only a single value.
In our next example we will learn how to extract head
and tail
from
java.util.List[E]
:
To return multiple values from the extractor we just need to return a
tuple instead of a single value wrapped in Option[A]
.
Extractors can be nested, this is a really powerful feature.
Given our previous JList
extractor we can extract not only
the first element but any finite number of elements from the beginning of a list:
To understand how this pattern works it’s helpful to look at the equivalent for comprehension:
When we extract multiple values, sometimes we want to
ignore some of them.
We can use _
wildcard, that matches any value, for this purpose:
We can also use pattern binders to assign names to subpatterns, for example:
Matching Java’s List[E]
using nested patterns is not
very comfortable.
In reality we prefer a syntax like case JList(e1, e2, e3)
.
Fortunately this can be done in Scala using extractors that return Option[Seq[E]]
:
Notice that we used unapplySeq
instead of unapply
.
With Seq
extractor we can match “tail” of
the list using _*
pattern:
The last thing that may come handy is the ability to write
extractor expression using either call notation JList2(head, tail)
or using operator notation head JList2 tail
:
This is mostly useful when we want to provide “operator like” experience
for the programmers. For example when we want to match
List
s using e1 :: e2 :: tail
expression.
Scala buildin extractors
Let’s finish this post with a tour of Scala buildin extractors.
Case classes
When you declare a case class in Scala:
compiler, among other things, adds appropriate
apply
and unapply
methods to the case class companion object.
Thanks to this, pattern matching works with case classes out of the box:
List
Scala List
implements a singly linked list.
case object Nil
is used to represent an empty list.
As a singleton object, Nil
is matched by case Nil
clause.
case class ::
is used as a linked list node, it contains
two fields head
and next
. Both Nil
and ::
extend abstract class List[E]
.
Because name of the case class ::
ends in a :
(colon),
::
when used as an operator is right associative:
After this overly simplistic explanation on how List[E]
works, we
should now understand how pattern matching
works with lists:
For programmers convenience unapplySeq
is also
provided on List
singleton object. It works very similar to
our JList
extractor:
It is a good exercise to create our own List[E]
implementation
with all pattern matching facilities that standard List[E]
provides.
Regexes
Scala Regex
class provides unapplySeq
extractor.
When a regex matches an input, the extractor will return
values for all matching groups within the regex.
You can create a group within a regex by using parentheses,
for example regex (\d{3})-(\d{5})
has two groups
\d{3}
and \d{5}
. If you want to use parentheses
but do not wish to create a group, you just need to put
?:
after starting (
like in (?:\d{3})?
.
If you want to learn more about regular expressions
you should check out Mastering Regular Expressions book by Jeffrey Friedl.
In practice regex extractors are rarely used with match
expression.