2009-07-05 19:54:49 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2008-2009 Marc Blank
|
|
|
|
* Licensed to The Android Open Source Project.
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
package com.android.exchange.adapter;
|
|
|
|
|
2009-07-23 22:31:28 +00:00
|
|
|
import com.android.email.provider.EmailContent.Mailbox;
|
|
|
|
import com.android.exchange.EasSyncService;
|
|
|
|
|
2009-07-05 19:54:49 +00:00
|
|
|
import java.io.ByteArrayInputStream;
|
|
|
|
import java.io.IOException;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sync adapter class for EAS calendars
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public class EasCalendarSyncAdapter extends EasSyncAdapter {
|
|
|
|
|
2009-07-27 17:24:58 +00:00
|
|
|
public EasCalendarSyncAdapter(Mailbox mailbox, EasSyncService service) {
|
|
|
|
super(mailbox, service);
|
2009-07-05 19:54:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean parse(ByteArrayInputStream is, EasSyncService service) throws IOException {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getCollectionName() {
|
|
|
|
return "Calendar";
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean sendLocalChanges(EasSerializer s, EasSyncService service) throws IOException {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
return false;
|
|
|
|
}
|
2009-07-15 00:21:13 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void cleanup(EasSyncService service) {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
}
|
2009-07-05 19:54:49 +00:00
|
|
|
}
|