Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public String getURL()
- {
- String url = "";
- try{
- URI uri = new URI(this.emailServer.toString());
- url = "imaps://"+uri.getHost()+"?username="+this.username+"&password=RAW("+this.password+")&folderName="+this.getMailBox()+"©To="+this.getMailBox()";
- } catch (Exception ex){
- ex.printStackTrace();
- }
- return url;
- }
- public String getURL(){
- String fromURL = "";
- fromURL = "aws-sqs://" + getQueueName() + "?accessKey=" + getS3AccessKey() + "&secretKey=RAW(" + getS3SecretKey() + ")®ion=" + getQueueRegion() + "&queueOwnerAWSAccountId=" + getS3SQSAWSClientID();
- return fromURL;
- }
Add Comment
Please, Sign In to add comment