PureJavaのルール。

1. Use no native methods.
2. Depend only on the Java core Application Programmer Interfaces .
3. Rely on no hardwired platform-specific constants.
4. Follow any applicable API protocols.