Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright 2013 Alibaba.com All right reserved. This software is the
  * confidential and proprietary information of Alibaba.com ("Confidential
  * Information"). You shall not disclose such Confidential Information and shall
  * use it only in accordance with the terms of the license agreement you entered
  * into with Alibaba.com.
  */
 package com.alibaba.simpleimage.analyze.harris.io;
 
类InterestPointWriter.java的实现描述:TODO 类实现描述

Author(s):
axman 2013-5-15 上午11:59:07
public class InterestPointNinfoWriter {
    private final static Logger logger = Logger.getLogger(InterestPointNinfoWriter.class);
    public static void writeComplete(String filenameInterestPointNListInfo ipln) {
        ObjectOutputStream out = null;
        try {
            out = new ObjectOutputStream(new FileOutputStream(filename));
            List<SURFInterestPointNlist = ipln.getList();
            out.writeInt(list.size());
            for (SURFInterestPointN ip : list) {
                out.writeObject(ip);
            }
            out.writeInt(ipln.getWidth());
            out.writeInt(ipln.getHeight());
            out.flush();
        } catch (Exception e) {
            .equals(e.getMessage());
        }finally{
            if(out != null){
                try {
                    out.close();
                } catch (IOException e) {
                    .equals(e.getMessage());
                }
            }
        }
    }
New to GrepCode? Check out our FAQ X