0

I want to capture image from IP Camera with Java. The IP-Camera is protected with user and password. The examples I've found are using the library from sun.*, but I would rather not use this in my code. Looking at the sourcecode of this program (IP-Camera image storing), it uses an encoder from the sun.* packages, which I would rather not use in my code:

My problem is with this line:

String encoding = new Base64Encoder(userPassword).processString();

Does anybody have a suggestion as to how I can do this without using this package?

Edd
  • 3,724
  • 3
  • 26
  • 33
user3176870
  • 31
  • 1
  • 10

0 Answers0