config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java
public boolean detectPalmOS()
   {
      // Make sure it's not WebOS first
      if (detectPalmWebOS())
         return false;

      // Most devices nowadays report as 'Palm', but some older ones reported as Blazer or Xiino.
      if (userAgent.indexOf(devicePalm) != -1
               || userAgent.indexOf(engineBlazer) != -1
               || userAgent.indexOf(engineXiino) != -1) {
         return true;
      }
      return false;
   }
public boolean detectPalmOS()
   {
      // Make sure it's not WebOS first
      if (detectPalmWebOS())
         return false;

      // Most devices nowadays report as 'Palm', but some older ones reported as Blazer or Xiino.
      if (userAgent.indexOf(devicePalm) != -1
               || userAgent.indexOf(engineBlazer) != -1
               || userAgent.indexOf(engineXiino) != -1) {
         return true;
      }
      return false;
   }
Detects if the current browser is on a PalmOS device.

@return detection of a PalmOS device