Android Open Source - AndFileTranser Update Info






From Project

Back to project page AndFileTranser.

License

The source code is released under:

GNU General Public License

If you think the Android project AndFileTranser listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.server;
//from   w ww .  ja  v a  2 s  .c om

public class UpdateInfo
{
  private String mIp="";
  private String mFileName="";
  private long mTotalLength=0;
  private long mAcceptLength=0;

  public long getTotalLength() {
    return mTotalLength;
  }

  public void setTotalLength(long totalLength) {
    this.mTotalLength = totalLength;
  }

  public long getAcceptLength() {
    return mAcceptLength;
  }

  public void setAcceptLength(long acceptLength) {
    this.mAcceptLength = acceptLength;
  }

  public String getIp() {
    return mIp;
  }

  public void setIp(String ip) {
    this.mIp = ip;
  }

  public String getFileName() {
    return mFileName;
  }

  public void setFileName(String fileName) {
    this.mFileName = fileName;
  }

}




Java Source Code List

com.client.BrowseFileAdapter.java
com.client.MainActivity.java
com.client.SendFileAdapter.java
com.client.ShowFileActivity.java
com.client.UpdateInfo.java
com.server.AcceptFileAdapter.java
com.server.MainActivity.java
com.server.ServerThread.java
com.server.Server.java
com.server.UpdateInfo.java