public final boolean isReadAble(Target target) throws IOException
{
boolean rtnCode = false;
ArrayList<String> oidList = new ArrayList<String>();
oidList.add("1.3.6.1.2.1.1.2");
if (query(oidList, target) != null)
{
rtnCode = true;
}
return rtnCode;
}

解决方案 »

  1.   

    public final boolean isReadAble(Target target) throws IOException
    {
    boolean rtnCode = false;
    ArrayList<String> oidList = new ArrayList<String>();
    oidList.add("1.3.6.1.2.1.1.2");
    if (query(oidList, target) != null)
    {
    rtnCode = true;
    }
    return rtnCode;
    }诶?我发的帖子也没有格式化??再来。请高手帮忙
      

  2.   

    我也来试试
    [code]
    @OneToMany(cascade=ALL, mappedBy="order")
      public Collection<LineItem> getLineItems() {
      return lineItems;
    }
    [/code]
      

  3.   

    再试
        /**
         * @param args the command line arguments
         */
        public static void main(String[] args) {
            ConverterClient client = new ConverterClient(args);
            client.doConversion();
        }
      

  4.   

    原来如此,你要在代码前面后面加和
    下面的"禁用UBB"不能打钩
      

  5.   

    好。我来试试!
     
    public static void main(String[] args) {
            ConverterClient client = new ConverterClient(args);
            client.doConversion();
        }