Package org.jivesoftware.smackx.packet.StreamInitiation

Examples of org.jivesoftware.smackx.packet.StreamInitiation.File


                        } catch (ParseException e) {
                            // couldn't parse date, use current date-time
                        }
                    }
                   
                    File file = new File(name, fileSize);
          file.setHash(hash);
          file.setDate(fileDate);
          file.setDesc(desc);
          file.setRanged(isRanged);
          initiation.setFile(file);
        }
      }
    }
View Full Code Here


                        }
                        catch (NumberFormatException e) {
                            e.printStackTrace();
                        }
                    }
                    File file = new File(name, fileSize);
          file.setHash(hash);
          if (date != null)
            file.setDate(DelayInformation.UTC_FORMAT.parse(date));
          file.setDesc(desc);
          file.setRanged(isRanged);
          initiation.setFile(file);
        }
      }
    }
View Full Code Here

                        } catch (ParseException e) {
                            // couldn't parse date, use current date-time
                        }
                    }
                   
                    File file = new File(name, fileSize);
          file.setHash(hash);
          file.setDate(fileDate);
          file.setDesc(desc);
          file.setRanged(isRanged);
          initiation.setFile(file);
        }
      }
    }
View Full Code Here

TOP

Related Classes of org.jivesoftware.smackx.packet.StreamInitiation.File

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.