I have found several java STUN implementations

[Java and Which Stun libraries i should use?](https://stackoverflow.com/questions/5704326/java-and-which-stun-libraries-i-should-use)

> 
> There is 
> 
> 
> * JSTUN: <http://jstun.javawi.de/>
> * STUN: <http://java.net/projects/stun>
> 
> 
> See also: [STUN, TURN, ICE library for Java](https://stackoverflow.com/questions/2039147/stun-turn-ice-library-for-java)
> 
> 
> 

But it is jars with many classes. I wish to find something simple in form of single method or at least single small class. Like following python code.

[https://github.com/jtriley/pystun/blob/develop/stun/**init**.py](https://github.com/jtriley/pystun/blob/develop/stun/__init__.py)

Reasonable answer why STUN in Java is so huge is also acceptable.